[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1287
  • Last Modified:

Serial Number Identification For My Application

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.
2 Solutions
Éric MoreauSenior .Net ConsultantCommented:
Miguel OzSoftware EngineerCommented:
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.
IncognitoManAuthor Commented:
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now