lyledg Posted January 17, 2005 Share 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 Link to comment Share on other sites More sharing options...
sugi Posted January 17, 2005 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now