Package oshi.driver.windows.wmi
Class OhmHardware
java.lang.Object
oshi.driver.windows.wmi.OhmHardware
Utility to query Open Hardware Monitor WMI data for Hardware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHW Identifier Property -
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmHardware.IdentifierProperty> queryHwIdentifier(WmiQueryHandler h, String typeToQuery, String typeName) Queries the hardware identifiers for a monitored type.
-
Method Details
-
queryHwIdentifier
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmHardware.IdentifierProperty> queryHwIdentifier(WmiQueryHandler h, String typeToQuery, 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.
-