Validates a license on the server


Performs the following validations on the License Server:

  • 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.
 bool ValidateLicenseOnServer (string webServiceUrl, 
                               string activationKey, 
                               string computerKey, 
                               string computerID, 
                               out EServerErrorCode errorCode, 
                               out string returnMsg)


webServiceUrlstringURL to the QLM License Server
activationKeystringthe license key to validate
computerKeystringthe computer bound key
computerIDstringthe unique computer identifier
errorCodeEServerErrorCodereturned error code
returnMsgstringreturned error message


booltrue if the license is valid.


If validation fails, errorCode and returnMsg provide additional details.