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.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted Jan 30, 2011, 1:37 PM
So other members can easily find the answers.
Vijay YadavPosted Jan 31, 2011, 7:47 AM
You can do this by taking installer file in your application and write code over there.
Thanks,
Vijay
Astika JadhavPosted Jan 31, 2011, 3:30 AM
We want to do it like windows setup's means serial key should have to enter at the time of installation.
Suthish NairPosted Jan 30, 2011, 9:06 AM
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.