View previous topic :: View next topic |
Author |
Message |
johnr
Joined: 13 Apr 2006 Posts: 5
|
Posted: Mon Jul 17, 2006 4:16 am Post subject: Valid License Checksum Issue |
|
|
Hello,
I created a custom generator using the sample code but I am encountering an issue with the checksum.
For some reason, some checksums are containing only 1 digit and in the sample code you have this line:
if (license.ProductInfo.Length < 2) return false;
This returns false for these users.
Is it safe to change this line to:
if (license.ProductInfo.Length < 1) return false;
Thanks,
John R |
|
Back to top |
|
|
johnr
Joined: 13 Apr 2006 Posts: 5
|
Posted: Mon Jul 17, 2006 4:19 am Post subject: |
|
|
Well, I changed the code and it seemed to work fine.
Thanks,
John |
|
Back to top |
|
|
|