Connects to the License Server and performs the following validations:
- Checks if the time on the client system is synchronized with the License Server.
- Calls IsLicenseKeyRevokedEx to check if the license was revoked.
- Calls IsIllegalComputer to check if the license is registered in the database.
- Publishes Analytics to the server if PublishAnalytics is set to true.
- Records the last time connection to the server was made in order to enforce the MaxDaysOffline setting.
- Verifies whether the system has exceeded the MaxDaysOffline setting.
To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.
C#: bool ValidateLicenseOnServer (string webServiceUrl, string activationKey, string computerKey, string computerID, out EServerErrorCode errorCode, out string returnMsg)
Return
This function returns true if all validation tests were successful, otherwise it returns false. If false is returned, errorCode and returnMsg provide additional details.
Parameters
webServiceUrl - URL to the QLM License Server.
activationKey - the license key to activate
computerKey - the computer bound key
computerID - the unique computer identifier
errorCode - returned error code
returnMsg - returned error message
Comments
0 comments
Article is closed for comments.