View previous topic :: View next topic |
Author |
Message |
jmcilhinney
Joined: 01 Mar 2007 Posts: 2
|
Posted: Thu Mar 01, 2007 6:32 am Post subject: [Resolved]Some Product Info Values Creating Invalid Checksum |
|
|
I'm a new user of version 3.4.2 as of a couple of days ago and purchased the product for a specific project. I've found that certain values for the Product Info field cause an issue. My Product Info is the value returned by calling GetHashCode on a hard drive serial number in a .NET 2.0 app. Certain values were telling me that the license key was not valid for the current product. I traced the issue to the EncryptedLicenseProvider.Checksum method. The specific value I was using was -1892278588 but some other values had the same issue, including 1892278588. When it came time for Checksum to return a value the 'hash' variable contained a negative number, thus converting it to a UInt16 threw an exception. I can only assume that this is a bug that will require an update, but if it's possible that I'm doing something wrong then please let me know.
Last edited by jmcilhinney on Thu Mar 01, 2007 11:58 pm; edited 1 time in total |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Mar 01, 2007 7:54 am Post subject: |
|
|
We have confirmed that there is a problem in the VB version of this code. The problem relates to the how VB handles conversions between signed and unsigned numbers. This problem does not affect the C# code or the DLL (which is built from C# code). We will try to have a fix out as soon as possible. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Mar 01, 2007 11:29 pm Post subject: |
|
|
We have now released a fix for this problem. You can download the new VB code for EncryptedLicenseProvider using the download link and password provided to you on purchase. _________________ Infralution Support |
|
Back to top |
|
|
jmcilhinney
Joined: 01 Mar 2007 Posts: 2
|
Posted: Thu Mar 01, 2007 11:58 pm Post subject: |
|
|
Excellent. Thank you very much for the prompt response. |
|
Back to top |
|
|
|