public CpuInfo(ManagementObject obj)
 {
     maxClockSpeed = DeNullify.ToString(obj["MaxClockSpeed"]);
     clockSpeed    = DeNullify.ToString(obj["CurrentClockSpeed"]);
     procName      = DeNullify.ToString(obj["Name"]);
     manufacturer  = DeNullify.ToString(obj["Manufacturer"]);
     version       = DeNullify.ToString(obj["Version"]);
 }
 public RamInfo_Internal(ManagementObject obj)
 {
     Capacity      = NumberUtil.ParseLong(DeNullify.ToString(obj["Capacity"]));
     DeviceLocator = DeNullify.ToString(obj["DeviceLocator"]);
     Speed         = NumberUtil.ParseInt(DeNullify.ToString(obj["Speed"]));
     //sb.AppendLine("Bank Label: " + obj["BankLabel"]);
     //sb.AppendLine("Capacity: " + obj["Capacity"]);
     //sb.AppendLine("Data Width: " + obj["DataWidth"]);
     //sb.AppendLine("Description: " + obj["Description"]);
     //sb.AppendLine("Device Locator: " + obj["DeviceLocator"]);
     //sb.AppendLine("Form Factor: " + obj["FormFactor"]);
     //sb.AppendLine("Hot Swappable: " + obj["HotSwappable"]);
     //sb.AppendLine("Manufacturer: " + obj["Manufacturer"]);
     //sb.AppendLine("Memory Type: " + obj["MemoryType"]);
     //sb.AppendLine("Name: " + obj["Name"]);
     //sb.AppendLine("Part Number: " + obj["PartNumber"]);
     //sb.AppendLine("Position In Row: " + obj["PositionInRow"]);
     //sb.AppendLine("Speed: " + obj["Speed"]);
     //sb.AppendLine("Tag: " + obj["Tag"]);
     //sb.AppendLine("Type Detail: " + obj["TypeDetail"]);
 }
 public GpuInfo(ManagementObject obj)
 {
     Name          = DeNullify.ToString(obj["Name"]);
     DriverVersion = DeNullify.ToString(obj["DriverVersion"]);
 }