Class ProcessorsConfiguration
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the processors configuration for a machine.
public class ProcessorsConfiguration : BypassSection
- Inheritance
-
ProcessorsConfiguration
- Inherited Members
Constructors
ProcessorsConfiguration()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.Processors class.
public ProcessorsConfiguration()
Properties
NumberOfLogicalProcessors
Gets or sets the total number of logical processors in the machine. For example a machine with 2 physical HyperThreading processors will report 4 logical processors.
public int NumberOfLogicalProcessors { get; set; }
Property Value
NumberOfProcessors
Gets or sets the number of processors in the system (this information is available to Windows Vista and above only).
public int NumberOfProcessors { get; set; }
Property Value
Processors
Gets or sets the items in the collection.
public ProcessorCollection Processors { get; set; }
Property Value
UtilizationValues
Gets or sets the total utilization values for all processors.
public ProcessorUtilizationValues UtilizationValues { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.ProcessorsConfiguration class from the specified XML.
public static ProcessorsConfiguration FromXml(string xml)
Parameters
xml
stringThe XML representation of the object.
Returns
- ProcessorsConfiguration
A CENTREL.XIA.Configuration.Types.ProcessorsConfiguration class.
ToString()
Returns the Windows devices as a human readable string - for example "10 Processors" or "{Not Documented}".
public override string ToString()
Returns
- string
The Windows devices as a human readable string.