LicenseValidator.ValidateLicense and LicenseValidator.ValidateLicenseAtStartup returning different values
We have a custom validation form that allows on and offline activation. When we use the form, it performs computer bound licensing based on the MacAddress using the LicenseValidator.ValidateLicense method. This returns (via GetStatus) 2, which means that the license is valid. (Using code based on the QLMProSample)
When we try to use LicenseValidator.ValidateLicenseAtStartup, the method reads the keys from the registry, pulls the mac address (same ones that we feed to ValidateLicense using our form), however, method returns "The license is not valid".
When stepping through the code, we noticed that the same values were being fed to the license.ValidateLicenseEx3, but returning different values.
My Question is this: Where do we go now to determine differences, and why one works, but the other does not?
Any help that you can give us would be appreciated.
Paul
-
We discovered the error. QLMHardware.GetFirstMACAddress() apparently strips the delimiter from the MAC Address even without the true overload.
0 -
Hi Paul
I just tested this with the latest version of QLM and could not reproduce the issue.
Which version are you using?
Regards
John
0 -
This is what I tried:
QlmHardware hw = new QlmHardware();
string m = hw.GetFirstMACAddress();-> result was: m = "00:FF:12:BF:1B:82"
m = hw.GetFirstMACAddress(true);
-> result was: m = "00FF12BF1B82"
m = hw.GetFirstMACAddress(false);
-> result was: m = "00:FF:12:BF:1B:82"
0
Please sign in to leave a comment.
Comments
3 comments