java.lang.Object
oshi.driver.windows.wmi.Win32LogicalDisk
Utility to query WMI class
Win32_LogicalDisk
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Logical disk properties. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32LogicalDisk.LogicalDiskProperty>
queryLogicalDisk
(String nameToMatch, boolean localOnly) Queries logical disk information
-
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 otherwiselocalOnly
- Whether to only search local drives- Returns:
- Logical Disk Information
-