lyledg 0 Posted January 17, 2005 Hopefully someone has already attempted this and will be willing to share their thoughts? I am wanting to add licensing and serial numbers to my app. How do I go about this? How would I go about getting serial numbers generated for my newly installed app? Is there an algorithm or something that I could use? Thanks guys.. Lyle Share this post Link to post Share on other sites
sugi 0 Posted January 17, 2005 You have to think of one yourself. One very simple algorithm Microsoft used a few years ago was: A 7 digit number (e.g 1234567). Add the digits up (1+2+3+4+5+6+7) and do a Mod($sum, 7). If Mod returns 0, the number is valid. Well, simple algorithms like that are cracked very fast, so if you value your serial numbers you should think of a better one. Share this post Link to post Share on other sites