ValidateLicenseFile
Description
Validates a QLM license file by performing the following operations:
Reads the license file and validates its signature
Validates the license based on the information in the license file
If server-side validation is enabled, contacts the License Server and validates the license on the server
If needed, reactivates the license to retrieve the latest information from the server
Parameters
webServiceUrl
string
URL to the QLM License Server
licenseFileName
string
path to the license file
activationKey
string
the activation key
computerID
string
the unique computer identifier
licenseBinding
the license binding to use
licenseInfo
return licenseInfo object
Return
bool
true if the license is valid.
Remarks
If validation fails, licenseInfo.ServerErrorCode and licenseInfo.ErrorMessage provide additional details.
Example
Last updated