The information on this page refers to SOAP version 2. This function does not exist in SOAP version 1. |
The LAC_DeactivateLicense function is used to deactivate a license. For example, a license can be deactivated so that it can be reactivated using a different host. This function requires an activation key and a HostID.
...
szUrl
[in] SOAP API endpoint URL. This value should be set to http://license.x-formation.com/soap/type/enduser/version/2.
szProxyHostname
[in] An optional client-side proxy host to be used with a request. This value should be NULL if not relevant.
Note: This function will attempt to contact LAC directly if no proxy is specified, so if you have a firewall or router that redirects traffic, ensure your configuration handles this correctly.
nProxyPort
[in] An optional client-side proxy port number to be used with a request. This value should be 0 if not relevant.
szProxyUsername
[in] An optional client-side proxy username to be used with a request. This value should be NULL if not relevant.
szProxyPassword
[in] An optional client-side proxy password to be used with a request. This value should be NULL if not relevant.
szResult
[out] Pointer to a string that will hold the license or error message. The string length can be up to LAC_MAX_RESPONSE_LENGTH.
...
On success, this function returns the status code LAC_SUCCESS.
On failure, this function returns an error code in the format described in Return SOAP API return codes.