Class Win32DiskDrive

java.lang.Object
oshi.driver.windows.wmi.Win32DiskDrive

@ThreadSafe public final class Win32DiskDrive extends Object
Utility to query WMI class Win32_DiskDrive
  • Method Details

    • queryDiskDrive

      public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32DiskDrive.DiskDriveProperty> queryDiskDrive(WmiQueryHandler h)
      Queries the disk drive name info
      Parameters:
      h - An instantiated WmiQueryHandler. User should have already initialized COM.
      Returns:
      Information regarding each disk drive.