UtilProcessorCount Property

Returns the number of processing units in the current system.

If HyperThreadingEnabled is set, it returns half of Environment.ProcessorCount, otherwise it just returns Environment.ProcessorCount.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static int ProcessorCount { get; }

Property Value

Int32

See Also