public void Search(EntityInventoryCollection collection) { using (var wmi = new WMI <EntityComputerSystemInventory>(new EntityComputerSystemInventory())) { collection.ComputerSystem = wmi.Execute(); } }
public void Search(EntityInventoryCollection collection) { using (var wmi = new WMI <EntityHardDrive>(new EntityHardDrive())) { collection.HardDrives = wmi.GetObjectList(); } }
public void Search(EntityInventoryCollection collection) { using (var wmi = new WMI <EntitySoftwareInventory>(new EntitySoftwareInventory())) { collection.Software = wmi.GetObjectList(); } }
public void Search(EntityInventoryCollection collection) { using (var wmi = new WMI <EntityPrinter>(new EntityPrinter())) { collection.Printers = wmi.GetObjectList(); } }
public void Search(EntityInventoryCollection collection) { using (var wmi = new WMI <EntityBiosInventory>(new EntityBiosInventory())) { collection.Bios = wmi.Execute(); } }
public void Search(EntityInventoryCollection collection) { using (var wmi = new WMI <EntityProcessorInventory>(new EntityProcessorInventory())) { collection.Processor = wmi.Execute(); } }