CheckRegName Method

The CheckRegName method checks the registration name and organization in the account, which is used in case of the Shareware implementation.

Syntax

C#

public CheckRegNameRes CheckRegName(string ActivationKey, string RegName, string RegOrg)

 

XML

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <CheckRegName xmlns="http://tempuri.org/">

      <ActivationKey>string</ActivationKey>

      <RegName>string</RegName>

      <RegOrg>string</RegOrg>

    </CheckRegName>

  </soap:Body>

</soap:Envelope>

Parameters

ActivationKey

The Activation Key to access the account.

RegName

The registration name to be checked.

RegOrg

The registration organization to be checked.

Return Value

C#

public struct CheckRegNameRes

{

    public int ErrorCode;

    public string ErrorMessage;

}

 

XML

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

  <soap:Body>

    <CheckRegNameResponse xmlns="http://tempuri.org/">

      <CheckRegNameResult>

        <ErrorCode>int</ErrorCode>

        <ErrorMessage>string</ErrorMessage>

      </CheckRegNameResult>

    </CheckRegNameResponse>

  </soap:Body>

</soap:Envelope>

 

ErrorCode

Returns 0 if success; otherwise, see the Error Code.

ErrorMessage

Returns error message if the ErrorCode is not 0.

 

See Also

SaveRegName