Solved

!!! Unique identifier under Windows !!!

Posted on 1998-05-13
3
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 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