serial key generation in c#.
we have completed our project in c#.
now we want to generate serial keys to install our project.
how can we do this.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Jan 29, 2011, 12:49 AM EST
Astika might asking about license key generation.
If that the query about, try Guid SerialNo = Guid.NewGuid(); for creating new serials.
or refer: Link1 Link2
Wait more reply !
Krishna GaradRank #191 · 12.8K reputationPosted Jan 28, 2011, 11:35 PM EST
Mahesh ChandRank #1 · 393.3K reputationPosted Jan 29, 2011, 1:32 AM EST
To generate serial numbers, you have to come up with an algorithm.
For example, you can generate a key based on today's date, add some part of your network IP, some your own hardcoded text and so on. Based on this algorithm, your Setup program or your exe has to look back for the same algorithm to verify if the serial number is correct.
Besides this, you can also verify these numbers from your server. This will require users to have an Internet and while installing or running (you choose when), application will connect to the server and verify key in your server database and if match found, continue.
Good luck!
ssware24 reputationPosted Aug 9, 2012, 3:01 AM EDT