Solved

CPU/HDD Serial Number

Posted on 2002-07-10
4
450 Views
Last Modified: 2012-06-27
How would I get the CPU and HDD Serial numbers?
0
Comment
Question by:Irax
  • 3
4 Comments
 

Accepted Solution

by:
rameshnut earned 50 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.

ramesh
0
 
LVL 30

Expert Comment

by:Axter
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.
0
 
LVL 30

Expert Comment

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

http://support.microsoft.com/support/kb/articles/q118/6/23.asp

A sample use of the CPUID opcode is shown in:

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

http://support.microsoft.com/support/kb/articles/Q121/3/68.asp

0
 
LVL 30

Expert Comment

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

Q118623 is still good:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q118623
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

825 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