Results 1 to 4 of 4

Thread: Registry

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    154

    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

  2. #2
    Frenzied Member Blobby's Avatar
    Join Date
    Oct 2001
    Location
    England
    Posts
    1,512
    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
    There are 3 types of people in this world.........those that can count, and those that can't.

    Blobby

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Posts
    154
    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

  4. #4
    Frenzied Member Blobby's Avatar
    Join Date
    Oct 2001
    Location
    England
    Posts
    1,512
    "Hello chap" is an informal greeting like 'hello mate'
    There are 3 types of people in this world.........those that can count, and those that can't.

    Blobby

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width