ComputerInfo.CsNumberOfProcessors Property

Definition

Number of physical processors currently available on a system.

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

Property Value

Remarks

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