The ConfirmDestroyCode
method gets a confirmation of the Destroy-Code generated from destroying the
license. The Destroy-Code is verified against the Program ID and User ID of the
activation account. If confirmed, the destroy status is checked, and the
information decoded from the Destroy-Code is recorded in the account log.
C# |
public ConfirmDestroyCodeRes
ConfirmDestroyCode(string ActivationKey, string DestroyCode) |
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> <ConfirmDestroyCode
xmlns="http://tempuri.org/"> <ActivationKey>string</ActivationKey> <DestroyCode>string</DestroyCode> </ConfirmDestroyCode> </soap:Body> </soap:Envelope> |
ActivationKey
The Activation Key to access the
account.
DestroyCode
The Destroy-Code to be confirmed.
C# |
public
struct ConfirmDestroyCodeRes { 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> <ConfirmDestroyCodeResponse
xmlns="http://tempuri.org/"> <ConfirmDestroyCodeResult> <ErrorCode>int</ErrorCode> <ErrorMessage>string</ErrorMessage> </ConfirmDestroyCodeResult> </ConfirmDestroyCodeResponse> </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