-
Registry
Ok well I know theres a lot of code involving registrying soemthing to someones computer...What I want to do is register a code to someones ahrd drive serial #. So it will only work on that serial number. Does anyone know sites or examples or anything of where I can learn how to do something like this?Thx guys :)
-
Hello chap. Only reason i didnt post any code on this topic is the fact that writeing a keygen and adding key checking code to a program is very complicated and not for beginners. Even some people that have been programming for ages have trouble.
Heres what u need to find out for a quick solution (just so it works on your mates pc)
1) Get the code to read a hard drives serial number (theres several examples if you search this forum)
2) Write a small app that that simply displays the first hard drive serial number. Give it to your mate, when he runs it tell him to give you the number its displaying.
3) In your main app, in the Form_Load event just check for the serial number of the first drive on the system. <ake sure it matches the one your mate gave you.
4) let them in if it matches or dont if it doesnt.
5) remember to save something to the registry if they enter a valid key so they dont have to next time they run it. Each time they run the app, check for this registry value and display the 'enter unlock key' if it isnt there or just run the app if it is
-
Yeah I know its complicated and I didnt want code jsut what U said is what I was looking for what exactly to do and how to do it :) hehe thx man and whats cahp mean"Hello chap" thx bro :)
-
"Hello chap" is an informal greeting like 'hello mate' :)