Generate Serial Number for my Program
Posted on 2012-04-05
I am trying to figure out the best way for users to "register" the program I am writing.
Here are my simple guidelines:
1. The program should be able to be registered without an internet connection.
2. The registration dialog box consists of a USERNAME and SERIAL NUMBER edit control.
I would like some high level suggestions on how to make sure the serial number is unique to each user BASED upon their USERNAME.
Of course we have some CONSTANTS I have available to me, for each user, which could be used to generate the final serial number.
a. hard drive serial
b. time info ( day, month, etc )
c. other WIN32 api return values that are consistent....
So, I would like some ideas on a simple algorithm based on the username.
All sincere suggestions will receive points.
I would LOVE a solution (suggestion) that I could actually put into production - not necessarily code, but a detailed suggestion - KEEP IN MIND PLEASE, I am only an intermediate C++ programmer, lol.