admin 管理员组文章数量: 1184232
foreach (ManagementObject mm in s.Get())
{
foreach (PropertyData pd in mm.Properties)
{
//
};
}
-*-----------------------------------
instance of Win32_MemoryDevice
{
Caption = "Memory Device";
CreationClassName = "Win32_MemoryDevice";
Description = "Memory Device";
DeviceID = "Memory Device 0";
EndingAddress
= "2097151";
Name = "Memory Device";
StartingAddress
= "0";
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = " ";
};
instance of Win32_MemoryDevice
{
Caption = "Memory Device";
CreationClassName = "Win32_MemoryDevice";
Description = "Memory Device";
DeviceID = "Memory Device 1";
EndingAddress
= "4194303";
Name = "Memory Device";
StartingAddress
= "2097152";
SystemCreationClassName = "Win32_ComputerSystem";
SystemName = " ";
};
**********************************************
SELECT * FROM Win32_PhysicalMemory
instance of Win32_PhysicalMemory
{
BankLabel = "BANK 1";
Capacity = "2147483648";
Caption = "Physical Memory";
CreationClassName = "Win32_PhysicalMemory";
DataWidth = 64;
Description = "Physical Memory";
DeviceLocator
= "DIMM1";
FormFactor = 8;
InterleaveDataDepth = 1;
InterleavePosition = 2;
Manufacturer
= "0000";
MemoryType = 0;
Name = "Physical Memory";
PartNumber = "SHARETRONIC ";
SerialNumber
= "E5EE0401";
Speed = 1333;
Tag = "Physical Memory 0";
TotalWidth = 64;
TypeDetail = 128;
};
instance of Win32_PhysicalMemory
{
BankLabel = "BANK 2";
Capacity = "2147483648";
Caption = "Physical Memory";
CreationClassName = "Win32_PhysicalMemory";
DataWidth = 64;
Description = "Physical Memory";
DeviceLocator
= "DIMM2";
FormFactor = 8;
InterleaveDataDepth = 1;
InterleavePosition = 1;
Manufacturer
= "Kingston";
MemoryType = 0;
Name = "Physical Memory";
PartNumber = "ACR256X64D3U13C9G ";
SerialNumber
= "611C4377";
Speed = 1333;
Tag = "Physical Memory 1";
TotalWidth = 64;
TypeDetail = 128;
};
版权声明:本文标题:C#程序员必学:高效内存控制技术详解 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1770604269a3535552.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论