Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Resolved]Some Product Info Values Creating Invalid Checksum

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
jmcilhinney



Joined: 01 Mar 2007
Posts: 2

PostPosted: Thu Mar 01, 2007 6:32 am    Post subject: [Resolved]Some Product Info Values Creating Invalid Checksum Reply with quote

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
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Mar 01, 2007 7:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Mar 01, 2007 11:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jmcilhinney



Joined: 01 Mar 2007
Posts: 2

PostPosted: Thu Mar 01, 2007 11:58 pm    Post subject: Reply with quote

Excellent. Thank you very much for the prompt response.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group