- 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 ValidateLicenseOnServerEx (string webServiceUrl, string activationKey, string computerKey, string computerID, string computerName, bool autoReactivate, 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
computerName - name of the computer
autoReactivate - if true, this function will automatically try to reactivate the license if it's not registered on the server.
errorCode - returned error code
returnMsg - returned error message
Comments
0 comments
Please sign in to leave a comment.