Serial Number Identification For My Application
Posted on 2009-12-21
Some days ago I was thinking about how they make the serial numbers work and so and so.
So as I was thinkig I got a solution on how this may be done with C#.
The customer resieves e number which is unique for every computer, that kind of functions can be found on internet. Then he gives this number to a person who generates the SNs. The generator program takes the number encrypt it and adds encrypted information on when it will expire, it may be 30 days or 60, 90 or forever. Then when the user enteres the SN, it creates crypted keys in the registry containing the unique number, the date of entering the period and the exparration date. After that on each opening the program it writes the number of opening with a counter and on each number the date. If the current day is earlyer than some past dates, then the user is trying to cheat and the program will be unactivated. If everything is in ordershow the other form.
Is this algorythm right? Is there something I need to add or change or remove in it.
Give me other ideas about serial numbering.