Has anyone out there discovered how to generate or retrieve a unique ID for a PC. I have tried using the Network Card MAC address but not every system has a network card does the BIOS or CPU have a unique ID? If so how can you retrieve this using VB.
Thanks Sunaj, I forgot to mention that I have already tried the serial number route. The Serial no is not really unique as it changes each time the harddisk is formated.
And, as previously observed, it doesn't return the same result twice (which is the whole point of GUIDs, of course), so you can't use it to fingerprint a PC...
Strongm, as usual, is right. The GUID string might be unique, but that's the problem... it's almost always unique.
I don't think there is a reliable way to "fingerprint" a system. You might try thread711-173216 (to get a BIOS ID string) but this ID is much less "unique" than a disk serial number... it will be the same on identical machines. You might try thread711-178792 (to create a checksum of 64kb of BIOS memory). The value appears to be unique on identical machines but tends to change when equipment changes (that's one of the problems with "fingerprints"... if you replace a person's hand, the fingerprints change - same problem you encounter after replacing a hard drive.)
Both of the preceeding threads have limited value since they probably won't work across Win versions. A guy like Strongm could probably find a stable way to code them, but what would be the point?
The most consistent way to identify a system would be to identify the user. Get his fingerprints. Hardware, firmware and software are mutable. Human fingerprints aren't.
Why do you need the unique id? What are you doing?
If you're trying to identify the client in a server client app, have you thought of just dropping a server generated unique value in to the registry, and using that?
>> What are you doing?
I don't want the user to copy the software and let it work on another pc.
So i'm very interested in how to get a pc's fingerprint.
If that is the reason then you should try one of the commercial applications that allows your software to do that.
Bear in mind that whatever protection scheme you use it is always possible to bypass it if a user has the required knowledge.
So any protection you can think of will only prevent the casual user from copying the software.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.