foreach (ManagementObject cpu in sql.Get())
{
foreach (PropertyData pd in cpu.Properties)
{
Console.WriteLine(pd.Name+" : "+pd.Type+" =>"+pd.Value);
}
------------------------
instance of Win32_Processor
{
AddressWidth = 32;
Architecture = 9;
Availability = 3;
Caption = "x64 Family 6 Model 58 Stepping 9";
CpuStatus = 1;
CreationClassName = "Win32_Processor";
CurrentClockSpeed = 1972;
CurrentVoltage = 10;
DataWidth = 64;
Description = "x64 Family 6 Model 58 Stepping 9";
DeviceID = "CPU0";
ExtClock = 100;
Family = 206;
L2CacheSize = 512;
L3CacheSize = 3072;
L3CacheSpeed = 0;
Level = 6;
LoadPercentage = 4;
Manufacturer = "GenuineIntel";
MaxClockSpeed = 3400;
Name = "Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz";
NumberOfCores = 2;
NumberOfLogicalProcessors = 4;
PowerManagementSupported = FALSE;
ProcessorId = "BFEBFBFF000306A9";
ProcessorType = 3;
Revision = 14857;
Role = "CPU";
SocketDesignation = "SOCKET 0";
Status = "OK";
StatusInfo = 3;
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = " ";
UpgradeMethod = 36;
Version = "";
};