- 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 - the name of the computer. If you pass an empty string, QLM will automatically extract the computer name of the current system.
autoReactivate - when true, if the license is not activated on the server, it will be automatically reactivated if licenses are still available.
errorCode - returned error code
returnMsg - returned error message
Comments
0 comments
Please sign in to leave a comment.