This project is read-only.

Validation of product key

Feb 4, 2010 at 4:10 PM

can we validate key that is generated by key generator ? or can we encrypt some information in that product key ?

Feb 26, 2010 at 1:18 AM

What do you mean by "encrypt some information in that product key?"


Also, when you say "can we validate key that is generated by key generator?", are you asking if there is a way of making sure that the product keys that are generated will work for sure?

Feb 26, 2010 at 1:25 AM
Edited Feb 26, 2010 at 1:26 AM

If you want a suggestion for validating a generated product key, try this download:

If you want to automatically validate all the product keys as they are generated with Product Key Generator, use it as an example to modify the code for the Generator to validate each key after it is generated.


Sorry for the delay!

Mar 2, 2010 at 6:55 PM

Thanks kevdog fr response ... i will check that out and let you know the results ...

Mar 16, 2010 at 1:14 AM


So did that solve your problem?


Kevin Schaefer

From: pdzarkar []
Sent: Tuesday, March 02, 2010 1:10 PM
Subject: Re: Validation of product key [KeyGen:83158]

From: pdzarkar

Thanks kevdog fr response ... i will check that out and let you know the results ...

Read the full discussion online.

To add a post to this discussion, reply to this email (

To start a new discussion for this project, email

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at

Mar 19, 2010 at 3:51 PM
Edited Mar 19, 2010 at 3:54 PM

sorry for late replay . I didn't checked yet . actually my second project partner working on that module. and I think he didn't check that. But whenever i get result ,i'll tell u result definitely. 

Mar 20, 2010 at 12:52 AM

i dont have much (or any) experience with, but it would be possible to simply modify product key generator to create only unique product keys. 

Depending on the number of characters in the product key, the probability of creating just 2 identical product keys would be highly unlikely. (For example: if you have a product key that is made up of 15 letters and since there are 26 letters in the alphabet, there are 1,677,259,342,285,725,925,376 possible unique product keys that could be generated.

However, you could check to make sure that a generated product key has not been created already. This could be accomplished by simply saving each product key in a text file when it is generated. Then, for each product key that is generated, it would be compared to the saved list to make sure it is not already in the saved file. If it is already in the saved file, a new product key would need to be generated (since it already exists).

May 16, 2010 at 3:05 PM

Hey Kev , validation code running fine .. but i think der is problem at "?" anonymus charachter....  and i hav a little doubt tat if i have different product as windows vista, visio n office. and i want to generate different keys fr dese application. The key generated fr one application should nt be accepted by other product. and validation of key (must be done from single validation file ). Is there any solution fr tat ?

did you got my query? Reply . or meet online (my mail id is : .