ComputerInfo.CsNumberOfProcessors Property


Number of physical processors currently available on a system.

 property Nullable<System::UInt32> CsNumberOfProcessors { Nullable<System::UInt32> get(); };
public Nullable<uint> CsNumberOfProcessors { get; }
member this.CsNumberOfProcessors : Nullable<uint32>
Public ReadOnly Property CsNumberOfProcessors As Nullable(Of UInteger)

Property Value


This is the number of enabled processors for a system, which

does not include the disabled processors. If a computer system

has two physical processors each containing two logical processors,

then the value of CsNumberOfProcessors is 2 and CsNumberOfLogicalProcessors

is 4. The processors may be multicore or they may be hyperthreading processors

Applies to