[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

!!! Unique identifier under Windows !!!

Hi there,

How can I get an unique identifier for a PC under Windows?
This identifier should be globally unique (like the ethernet-address of a NIC).

It should be independend of a NIC, as my program should work on standalone-PC's too!

========== AddOn ==========

Could it be possible to get at least the BIOS-version number of a PC? Or what about the harddrive serial-number, how can I get that?

=================================


Greetings,

         os
0
os012897
Asked:
os012897
1 Solution
 
fasterCommented:
This question has been discussed but no solution is found out.  Someone tries to get the CPU id but it seems that it is not practical.
0
 
os012897Author Commented:
Edited text of question
0
 
alexoCommented:
BIOS serial number is not unique.  Best thing you can do if you don't have a NIC is using the volume serial numbers of the hard drive partitions, which is pseudo-random.  Check the GetVolumeInformation() function.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now