Connects to the License Server and checks if the provided license key is valid. To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.
C#: void IsLicenseKeyValid (string webServiceUrl, string activationKey, out string response)
Parameters
webServiceUrl - URL to the QLM License Server.
activationKey - the license key to activate
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>The activation key is valid.</result>
</QuickLicenseManager>
In the event of an error, the XML fragments returns:
<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<error>The activation key is not valid</error>
</QuickLicenseManager>
Comments
0 comments
Article is closed for comments.