Serial Key Validation in c#
My Project is completed and i want to install it on clients machine so i have to give the serial key.I am able to create the serial key but i don't know how to validate that key at time of installation.
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Suthish NairRank #92 · 22.8K reputationPosted Jan 30, 2011, 8:37 AM EST
So other members can easily find the answers.
Suthish NairRank #92 · 22.8K reputationPosted Jan 30, 2011, 4:06 AM EST
You need to do the rework again. Store the the serial keys in your DB, design a form for Serial Key Validation.
Compare the keys entered by User and from DB table. If it fails alert the user about "Invalid Serial Key" else continue the installation process.
Or, create a collection list and hard code the serial list in code behind. Then compare the keys.
Astika Jadhav20 reputationPosted Jan 30, 2011, 10:30 PM EST
We want to do it like windows setup's means serial key should have to enter at the time of installation.
Vijay YadavRank #1,637 · 943 reputationPosted Jan 31, 2011, 2:47 AM EST
You can do this by taking installer file in your application and write code over there.
Thanks,
Vijay