CPU/HDD Serial Number

Posted on 2002-07-10
Medium Priority
Last Modified: 2012-06-27
How would I get the CPU and HDD Serial numbers?
Question by:Irax
  • 3

Accepted Solution

rameshnut earned 150 total points
ID: 7142750
there is NO specific NUMBER to uniquely identify a CPU (i am sorry for this unfortunate answer!) , but you can have a number associated with CPU that identifies its class (like, pentium 2, 3, 4 or celeron - but this number is not specific a single CPU but to a class of CPU's mentioned above)

HDD number is easy to obtain. you have the GetVolumeInformation() function in win SDK.

LVL 30

Expert Comment

ID: 7144665
>>How would I get the CPU and HDD Serial numbers?
MS method for this was to get the Network card number.  All network cards have a unique ID number.
LVL 30

Expert Comment

ID: 7144677
>>How would I get the CPU
Q118623 - HOWTO: Get the MAC Address for an Ethernet Adapter  


A sample use of the CPUID opcode is shown in:

PRB: VC++ Debugger Won't Support Pentium-Specific Instructions
ID: Q121368


LVL 30

Expert Comment

ID: 7144688
Disregard last link.  It seems it has been removed from MS web site.

Q118623 is still good:

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

600 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