Package oshi.driver.windows.wmi
Class OhmHardware
- java.lang.Object
-
- oshi.driver.windows.wmi.OhmHardware
-
@ThreadSafe public final class OhmHardware extends java.lang.Object
Utility to query Open Hardware Monitor WMI data for Hardware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOhmHardware.IdentifierPropertyHW Identifier Property
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringHARDWARE
-
Constructor Summary
Constructors Modifier Constructor Description privateOhmHardware()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmHardware.IdentifierProperty>queryHwIdentifier(WmiQueryHandler h, java.lang.String typeToQuery, java.lang.String typeName)Queries the hardware identifiers for a monitored type.
-
-
-
Field Detail
-
HARDWARE
private static final java.lang.String HARDWARE
- See Also:
- Constant Field Values
-
-
Method Detail
-
queryHwIdentifier
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmHardware.IdentifierProperty> queryHwIdentifier(WmiQueryHandler h, java.lang.String typeToQuery, java.lang.String typeName)
Queries the hardware identifiers for a monitored type.- Parameters:
h- An instantiatedWmiQueryHandler. User should have already initialized COM.typeToQuery- which type to filter based ontypeName- the name of the type- Returns:
- The sensor value.
-
-