ReactivateLicense Method

The ReactivateLicense method deactivates license, and then activates new custom license.

Syntax

C#

public ReactivateLicenseRes ReactivateLicense(string ActivationKey, string LicKeyTran)

 

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>

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

      <ActivationKey>string</ActivationKey>

      <LicKeyTran>string</LicKeyTran>

      <RegistrationID>string</RegistrationID>

    </ReactivateLicense>

  </soap:Body>

</soap:Envelope>

Parameters

ActivationKey

The Activation Key to access the account.

LicKeyTran

The License Key transferred from the client.

RegistrationID

The Registraton ID to get the License Key.

Return Value

C#

public struct ReactivateLicenseRes

{

    public int ErrorCode;

    public string ErrorMessage;

    public string LicenseKey;

}

 

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>

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

      <ReactivateLicenseResult>

        <ErrorCode>int</ErrorCode>

        <ErrorMessage>string</ErrorMessage>

        <LicenseKey>string</LicenseKey>

      </ReactivateLicenseResult>

    </ReactivateLicenseResponse>

  </soap:Body>

</soap:Envelope>

 

ErrorCode

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

ErrorMessage

Returns error message if the ErrorCode is not 0.

LicenseKey

Returns the License Key.

 

See Also

ReactivateLicense2