Serial Number Identification For My Application

Posted on 2009-12-21
Last Modified: 2013-11-25
Hello guys,
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.
Question by:IncognitoMan
    LVL 69

    Accepted Solution

    LVL 35

    Assisted Solution

    by:Miguel Oz
    I answered similar question in this solution:

    Note: emoreau's post only mention a free very basic alternative, but there are very good commercial ones, that  you do not have to modify anything in your exe (like armadillo or install-us) and they will lock your exe as per your question. Evn Installshield (latest release) is offering this option.

    Author Closing Comment

    Thank you guyst for the useful links. I read the information, but it seems I'm going to write this module by myself :).

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Cobalt Digital Marketing began using the Scrum Framework development process in summer 2009.  We hired a consultant to train the teams, observe meetings, and answer questions. He recommended that we begin using one-week sprints for several reason…
    If you are using Scrum Framework or another agile process, a retrospective may be part of it. Does your team perform retrospectives? Are you getting value from your retrospectives? I see a common anti-pattern when people conduct a retrospective f…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now