The ConfirmDestroyCode2
method gets a confirmation of the Destroy-Code (by User ID) generated from
destroying the license. The Destroy-Code2 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
ConfirmDestroyCode2(string UserID, 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> <ConfirmDestroyCode2 xmlns="http://tempuri.org/"> <UserID>string</UserID> <DestroyCode>string</DestroyCode> </ConfirmDestroyCode2> </soap:Body> </soap:Envelope> |
UserID
The User ID 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> <ConfirmDestroyCode2Response xmlns="http://tempuri.org/"> <ConfirmDestroyCode2Result> <ErrorCode>int</ErrorCode> <ErrorMessage>string</ErrorMessage> </ConfirmDestroyCode2Result> </ConfirmDestroyCode2Response> </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