Solved

!!! Unique identifier under Windows !!!

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 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