QlmLicense::IsLicenseKeyActivated(...) does NOT work

Comments

1 comment

  • Official comment
    Avatar
    John Michel

    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.

Powered by Zendesk