Connects to the License Server and checks if the current computer is properly registered in the QLM database.
If the computer is registered in the database, IsIllegalComputer returns false.
If the computer is not registered in the database, the system will try to activate the license on this computer. If all available activations are already consumed, the activation will fail and IsIllegalComputer will return true. If there are unused activations, this computer will be activated and IsIllegalComputer will return false.
For more details about detection of illegal computers, refer to this article.
To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.
C#: void IsIllegalComputer (string webServiceUrl, string activationKey, string computerKey, string computerID, string computerName, string qlmVersion, out string response)
Parameters
webServiceUrl - URL to the QLM License Server.
activationKey - the activation key
computerKey - the computer bound key
computerID - the computer identifier
computerName - the computer name
qlmVersion - the version of the QLM engine
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.