|
-
Jun 25th, 2007, 10:06 PM
#1
Thread Starter
Fanatic Member
[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!
-
Jun 26th, 2007, 07:29 AM
#2
Hyperactive Member
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.
-
Jun 26th, 2007, 07:22 PM
#3
Thread Starter
Fanatic Member
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.
-
Jun 27th, 2007, 10:17 AM
#4
Hyperactive Member
Re: Get Hardware ID or Unique Identifier
-
Jun 27th, 2007, 07:49 PM
#5
Thread Starter
Fanatic Member
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
-
Jun 27th, 2007, 10:49 PM
#6
Hyperactive Member
Re: Get Hardware ID or Unique Identifier
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|