API Reference
Class
DiskInfo
Physical disk information (model, size, bus, health flags).
Inheritance
- Object
- DiskInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ComputerInventory.Disks
- Method Disk.GetAsync
- Property DiskInventoryQueryResult.Disks
- Method DiskQuery.GetAsync
- Method Drives.Get
- Method Drives.GetAsync
Constructors
public DiskInfo() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String ComputerName { get; set; } #Browsable(false)Computer name from which the disk information was collected.
public String DeviceId { get; set; } #Browsable(false)Device identifier reported by Win32_DiskDrive.
public String InterfaceType { get; set; } #Display(Name = "Interface", Order = 1)Bus/interface type (e.g., SATA, NVMe).
public String MediaType { get; set; } #Display(Name = "Media", Order = 2)Media type string (e.g., SSD, HDD).