DeactivateLicense Method

The DeactivateLicense method verifies the License Key transferred from the client and saves it to the account as LicKeyTran. The method also decrements the activation count by one. Note that if the account has the Reactivation field checked, the License Key is verified only, but not saved.

Syntax

C#

public DeactivateLicenseRes DeactivateLicense(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>

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

      <ActivationKey>string</ActivationKey>

      <LicKeyTran>string</LicKeyTran>

    </DeactivateLicense>

  </soap:Body>

</soap:Envelope>

Parameters

ActivationKey

The Activation Key to access the account.

LicKeyTran

The License Key transferred from the client.

Return Value

C#

public struct DeactivateLicenseRes

{

    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>

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

      <DeactivateLicenseResult>

        <ErrorCode>int</ErrorCode>

        <ErrorMessage>string</ErrorMessage>

      </DeactivateLicenseResult>

    </DeactivateLicenseResponse>

  </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

ActivateLicense