Solved

!!! Unique identifier under Windows !!!

Posted on 1998-05-13
3
301 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

777 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