Jump to content
Sign in to follow this  

Adding serial numbers to my app

Recommended Posts

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..


Share this post

Link to post
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...