ManagementObjectSearcher sql = new ManagementObjectSearcher(" SELECT * FROM Win32_baseboard");
foreach (ManagementObject bb in sql.Get())
{
foreach (PropertyData pd in bb.Properties)
{
//
};
foreach (ManagementObject bb in sql.Get())
{
foreach (PropertyData pd in bb.Properties)
{
//
};
}
-------------------
instance of Win32_BaseBoard
{
Caption = "Base Board";
CreationClassName = "Win32_BaseBoard";
Description = "Base Board";
HostingBoard = TRUE;
HotSwappable = FALSE;
Manufacturer = "Acer";
Name = "Base Board";
PoweredOn = TRUE;
Product = "H61H2-AM3 ";
Removable = FALSE;
Replaceable = TRUE;
RequiresDaughterBoard = FALSE;
SerialNumber = "DBF4FC1001347014449100";
Status = "OK";
Tag = "Base Board";
Version = "v1.0 ";
};