with out using system.management

Y

Yoshitha

Hi

to get the cpu id i'm using the system.management class.
is it possible to get the cpuid with out using system.management ? if
poosible can anybody tell me how to get.

thanx in advance
Yoshitha
 
S

Scott Allen

You'd have to PInvoke unmanaged code that calls the CPUID instruction.

You might also find some info with the registry API underneath:
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor
 
G

Guest

could sombody please maybe supply an example of this?

probably an api declaration and an example of its usage....

thanks
Zacho
 
G

Guest

I don't have a very deep unerstanding on how to use the system.management
namespace. I tried doing what you did albeit without success.

could you supply an example code snippet?

thanks very much!
Zacho
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top