Solved

!!! Unique identifier under Windows !!!

Posted on 1998-05-13
3
298 Views
Last Modified: 2013-12-03
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
Comment
Question by:os012897
3 Comments
 
LVL 7

Expert Comment

by:faster
ID: 1401420
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
 
LVL 3

Author Comment

by:os012897
ID: 1401421
Edited text of question
0
 
LVL 11

Accepted Solution

by:
alexo earned 100 total points
ID: 1401422
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now