Total CPU count

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is it possibile to know how many cpu (physicaly or hyperthreading) a machine
has
using dotnet framework ?

thanks
 
Thanks, Rob ,let me try WMI class

btw, the reason i want to find the total number of cpu i have is
i found that in Task Monitor, the CPU time of System Idle Process is
counting double (my computer is a Hyper-Threading CPU model)
so, i start to think whether i can count the total number of cpu using
dotnet

anyway, let me try WMI, thanks
 
In Net 2.0, there is a system.environment class. One of it's
method/properties is a CPU count.

Mike.
 
Back
Top