QlmLicense::IsLicenseKeyActivated(...) does NOT work
Trying to utilise this API call to check whether a license key is still activated on the server, it returns TRUE even when the license key is clearly released from the QLM management console.
Am I missing anything here? Thanks.
-
Official comment
Hi Li
I just tried this and it worked as expected.
Example (after creating an instance of the LicenseValidator and calling ValidateLicenseAtStartup):
if (lv.QlmLicenseObject.IsLicenseKeyActivated (string.Empty, lv.ActivationKey, string.Empty, out errorMsg))
{
// this license is activated
}
else
{
// this license is not activated
}If you provide a computerID, the API will tell you if it's activated on that computer.
If you do not provide a computerID, the API will tell you if the license is activated on any computer.
Please sign in to leave a comment.
Comments
1 comment