Class Win32LogicalDisk

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

@ThreadSafe public final class Win32LogicalDisk extends Object
Utility to query WMI class Win32_LogicalDisk
  • Method Details

    • queryLogicalDisk

      public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32LogicalDisk.LogicalDiskProperty> queryLogicalDisk(String nameToMatch, boolean localOnly)
      Queries logical disk information
      Parameters:
      nameToMatch - an optional string to filter match, null otherwise
      localOnly - Whether to only search local drives
      Returns:
      Logical Disk Information