Revoke or unrevoke a license key.
To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.
Note that to call this function, you must:
- Set the AdminEncryptionKey property
C#: bool RevokeLicense (string webServiceUrl, string activationKey, bool revoke, out string response)
The function returns true if the operation was successful.
Parameters
webServiceUrl - URL to the QLM License Server.
activationKey- the license key to udpate
revoke - true to revoke a license, false to un-revoke it.
response - XML fragment containing the result of the call. The Xml fragment schema is as follows:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<result>Successfully updated license information for ActivationKey=XYZ.</result>
In the event of an error, the XML fragments returns:
</QuickLicenseManager>
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<error>Details about the error</error>
</QuickLicenseManager>
Comments
0 comments
Please sign in to leave a comment.