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 class  OhmHardware.IdentifierProperty
    HW Identifier Property
  • Method Summary

    Modifier and Type Method Description
    static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmHardware.IdentifierProperty> queryHwIdentifier​(java.lang.String typeToQuery, java.lang.String typeName)
    Queries the hardware identifiers for a monitored type.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • queryHwIdentifier

      public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmHardware.IdentifierProperty> queryHwIdentifier​(java.lang.String typeToQuery, java.lang.String typeName)
      Queries the hardware identifiers for a monitored type.
      Parameters:
      typeToQuery - which type to filter based on
      typeName - the name of the type
      Returns:
      The sensor value.