ComputerInfo.CsNumberOfProcessors Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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