Results 1 to 6 of 6

Thread: [RESOLVED] Get Hardware ID or Unique Identifier

  1. #1

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    Resolved [RESOLVED] Get Hardware ID or Unique Identifier

    Hi guys...Im planning to make a simple function that would generate a unique number identifier for a particular computer. From my own understanding, correct me please if im wrong, every hardware has a unique ID Number so i decided to generate a unique number identifier for a computer based from the hardware installed in that computer. My question is, how can i get the ID of each HArdware? Any help please..thanks!

  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Get Hardware ID or Unique Identifier

    http://msdn2.microsoft.com/en-us/library/ms178582.aspx
    Session is what you want, if you are on a domain and it is just a local app just use their NT creditals.

    You can use a MAC address with is the UID of the computer's network card, but that would only be accurate if all your clients were on the local LAN.

  3. #3

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    Re: Get Hardware ID or Unique Identifier

    Oh! I forgot, Its Windows Application, not web application and it can either be use in Local Area Network(LAN) or non-LAN. Actually, I will use that unique number to generate a serial key and use that to activate the windows application to prevent unauthorized distribution. Any suggestion on how to implement that? Thanks!
    Last edited by daimous; Jun 26th, 2007 at 07:27 PM.

  4. #4
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Get Hardware ID or Unique Identifier


  5. #5

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    Re: Get Hardware ID or Unique Identifier

    Thanks for that..But i think the solution is not the thing. I want it to be Per-Processor basis. Anyway, i've found a solution from HERE

  6. #6
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: Get Hardware ID or Unique Identifier

    Quote Originally Posted by daimous
    Thanks for that..But i think the solution is not the thing. I want it to be Per-Processor basis. Anyway, i've found a solution from HERE
    I'd like to point out that not all processor support cpuID and it can be disabled in hardware, and not computer have a NIC card (MAC address). The combination of them is want you want.

    You will probably want to encrypt it as well.

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