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 Type
    Method
    Description
    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.

    Methods inherited from class oshi.driver.common.windows.wmi.OhmHardware

    buildHardwareWmiClassNameWithWhere

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 instantiated WmiQueryHandler. User should have already initialized COM.
      typeToQuery - which type to filter based on
      typeName - the name of the type
      Returns:
      WmiResult of hardware identifier properties.