Solved

CPU/HDD Serial Number

Posted on 2002-07-10
4
447 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

896 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now