[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!
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.
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!
Re: Get Hardware ID or Unique Identifier
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
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.