Class OhmHardwareJNA
java.lang.Object
oshi.driver.common.windows.wmi.OhmHardware
oshi.driver.windows.wmi.OhmHardwareJNA
@ThreadSafe
public final class OhmHardwareJNA
extends oshi.driver.common.windows.wmi.OhmHardware
Utility to query Open Hardware Monitor WMI data for Hardware using JNA.
-
Nested Class Summary
Nested classes/interfaces inherited from class oshi.driver.common.windows.wmi.OhmHardware
oshi.driver.common.windows.wmi.OhmHardware.IdentifierProperty -
Field Summary
Fields inherited from class oshi.driver.common.windows.wmi.OhmHardware
HARDWARE, OHM_NAMESPACE -
Method Summary
Modifier and TypeMethodDescriptionstatic WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.OhmHardware.IdentifierProperty> queryHwIdentifier(WmiQueryHandler h, String typeToQuery, String typeName) Queries the hardware identifiers for a monitored type.Methods inherited from class oshi.driver.common.windows.wmi.OhmHardware
buildHardwareWmiClassNameWithWhere
-
Method Details
-
queryHwIdentifier
public static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.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:
- WmiResult of hardware identifier properties.
-