ILNumerics Ultimate VS

WMIProcessor Class

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
A maintenance object providing a comprehensive set of WMI (Windows Management Interface) information about the current system.

[ILNumerics Core Module]

Inheritance Hierarchy

SystemObject
  ILNumerics.Core.MiscWMIProcessor

Namespace:  ILNumerics.Core.Misc
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public class WMIProcessor

The WMIProcessor type exposes the following members.

Constructors

  NameDescription
Public methodWMIProcessor
Constructor defines the ILWMIProcessor.

[ILNumerics Core Module]

Top
Properties

  NameDescription
Public propertyAddressWidth
Processor address width in bits.

[ILNumerics Core Module]

Public propertyArchitecture
The Architecture property specifies the processor architecture used by this platform. It returns one of the following integer values: 0 - x86, 1 - MIPS, 2 - Alpha, 3 - PowerPC, 6 - ia64, 9 - x64

[ILNumerics Core Module]

Public propertyAvailability
The availability and status of the device. For example, the Availability property indicates that the device is running and has full power (value=3), or is in a warning (4), test (5), degraded (10) or power save state (values 13-15 and 17). Regarding the power saving states, these are defined as follows: Value 13 ("Power Save - Unknown") indicates that the device is known to be in a power save mode, but its exact status in this mode is unknown; 14 ("Power Save - Low Power Mode") indicates that the device is in a power save state but still functioning, and may exhibit degraded performance; 15 ("Power Save - Standby") describes that the device is not functioning but could be brought to full power 'quickly'; and value 17 ("Power Save - Warning") indicates that the device is in a warning state, though also in a power save mode.

[ILNumerics Core Module]

Public propertyCaption
The Caption property is a short textual description (one-line string) of the object.

[ILNumerics Core Module]

Public propertyConfigManagerErrorCode
Indicates the Win32 Configuration Manager error code. See remarks for a list of available values.

[ILNumerics Core Module]

Public propertyConfigManagerUserConfig
Indicates whether the device is using a user-defined configuration.

[ILNumerics Core Module]

Public propertyCPUStatus
The CpuStatus property specifies the current status of the processor. Changes in status arise from processor usage, not the physical condition of the processor.

[ILNumerics Core Module]

Public propertyCurrentClockSpeed
The current speed (in MHz) of this processor.

[ILNumerics Core Module]

Public propertyCurrentVoltage
The CurrentVoltage specifies the voltage of the processor.

[ILNumerics Core Module]

Public propertyDataWidth
Processor data width in bits.

[ILNumerics Core Module]

Public propertyDescription
The Description property provides a textual description of the WMI object.

[ILNumerics Core Module]

Public propertyDeviceID
The DeviceID property contains a string uniquely identifying the processor with other devices on the system.

[ILNumerics Core Module]

Public propertyFamily
The processor family type. For example, values include "Pentium(R) processor with MMX(TM) technology" (14) and "68040" (96).

[ILNumerics Core Module]

Public propertyInstallDate
The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.

[ILNumerics Core Module]

Public propertyL2CacheSize
The L2CacheSize property specifies the size of the processor's Level 2 cache. A Level 2 cache is an external memory area that has a faster access times than the main RAM memory.

[ILNumerics Core Module]

Public propertyL3CacheSize
The L3CacheSize property specifies the size of the processor's Level 3 cache in kilo bytes. A Level 3 cache is an external memory area that has a faster access times than the main RAM memory.

[ILNumerics Core Module]

Public propertyLevel
The Level property further defines the processor type. The value depends on the architecture of the processor.

[ILNumerics Core Module]

Public propertyManufacturer
The Manufacturer property specifies the name of the processor's manufacturer. Example: GenuineSilicon.

[ILNumerics Core Module]

Public propertyMaxClockSpeed
The maximum speed (in MHz) of this processor.

[ILNumerics Core Module]

Public propertyName
The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.

[ILNumerics Core Module]

Public propertyNumberOfCores
The NumberOfCores property contains a Processor's total number of cores. e.g dual core machine will have NumberOfCores = 2.

[ILNumerics Core Module]

Public propertyNumberOfLogicalProcessors
The NumberOfLogicalProcessors property specifies the total number of logical processors. This typically corresponds to "System.Environment.ProcessorCount".

[ILNumerics Core Module]

Public propertyOtherFamilyDescription
A string describing the processor family type - used when the family property is set to 1 ("Other"). This string should be set to NULL when the family property is any value other than 1.

[ILNumerics Core Module]

Public propertyPNPDeviceID
Indicates the Win32 Plug and Play device ID of the logical device. Example: *PNP030b.

[ILNumerics Core Module]

Public propertyPowerManagementSupported
Boolean indicating that the Device can be power managed - ie, put into a power save state. This boolean does not indicate that power management features are currently enabled, or if enabled, what features are supported. Refer to the PowerManagementCapabilities array for this information. If this boolean is false, the integer value 1, for the string, "Not Supported", should be the only entry in the PowerManagementCapabilities array.

[ILNumerics Core Module]

Public propertyProcessorId
The ProcessorId property contains processor-specific information that describes the processor's features. For x86 class CPUs, the field's format depends on the processor's support of the CPUID instruction. If the instruction is supported, the ProcessorId property contains two DWORD-formatted values. The first (offsets 08h-0Bh) is the EAX value returned by a CPUID instruction with input EAX set to 1. The second (offsets 0Ch-0Fh) is the EDX value returned by that instruction. Only the first two bytes of the ProcessorID property are significant (all others are set to 0) and contain (in WORD-format) the contents of the DX register at CPU reset.

[ILNumerics Core Module]

Public propertyProcessorType
The ProcessorType property specifies the processor's primary function.

[ILNumerics Core Module]

Public propertyRevision
The Revision property specifies the system's architecture-dependent revision level. The meaning of this value depends on the architecture of the processor. It contains the same values as the "Version" member, but in a numerical format.

[ILNumerics Core Module]

Public propertyRole
A free form string describing the role of the processor - for example, "Central Processor"' or "Math Processor".

[ILNumerics Core Module]

Public propertySecondLevelAddressTranslationExtensions
The SecondLevelAddressTranslationExtensions property determines whether the processor supports address translation extensions used for virtualization.

[ILNumerics Core Module]

Public propertySocketDesignation
The SocketDesignation property contains the type of chip socket used on the circuit. Example: J202.

[ILNumerics Core Module]

Public propertyStatus
The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.

[ILNumerics Core Module]

Public propertyStatusInfo
StatusInfo is a string indicating whether the logical device is in an enabled (value = 3), disabled (value = 4) or some other (1) or unknown (2) state. If this property does not apply to the logical device, the value, 5 ("Not Applicable"), should be used.

[ILNumerics Core Module]

Public propertyStepping
Stepping is a free-form string indicating the revision level of the processor within the processor family.

[ILNumerics Core Module]

Public propertySystemName
The System's Name where this processor is installed on.

[ILNumerics Core Module]

Public propertyUniqueId
A globally unique identifier for the processor. This identifier may only be unique within a processor family.

[ILNumerics Core Module]

Public propertyUpgradeMethod
CPU socket information including data on how this Processor can be upgraded (if upgrades are supported). This property is an integer enumeration.

[ILNumerics Core Module]

Public propertyVersion
The Version property specifies an architecture-dependent processor revision number. Note: This member is not used in Windows 95. Example: Model 2, Stepping 12.

[ILNumerics Core Module]

Public propertyVirtualizationFirmwareEnabled
The VirtualizationFirmwareEnabled property determines whether the Firmware has enabled virtualization extensions.

[ILNumerics Core Module]

Public propertyVMMonitorModeExtensions
The VMMonitorModeExtensions property determines whether the processor supports Intel or AMD Virtual Machine Monitor extensions.

[ILNumerics Core Module]

Public propertyVoltageCaps
The VoltageCaps property specifies the voltage capabilities of the processor. Bits 0-3 of the field represent specific voltages that the processor socket can accept. All other bits should be set to zero. The socket is configurable if multiple bits are being set. For a range of voltages see CurrentVoltage. If the property is NULL, then the voltage capabilities are unknown.

[ILNumerics Core Module]

Top
Methods

  NameDescription
Protected methodFinalize
ILWMIProcessor object destructor.

[ILNumerics Core Module]

(Overrides ObjectFinalize.)
Public methodinitAll
Method initializes all properties of ILWMIProcessor object.

[ILNumerics Core Module]

Top
Remarks

[ILNumerics Core Module]

See Also

Reference