Package oshi.driver.windows.wmi
Class OhmSensor
java.lang.Object
oshi.driver.windows.wmi.OhmSensor
@ThreadSafe public final class OhmSensor extends java.lang.Object
Utility to query Open Hardware Monitor WMI data for Sensors
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OhmSensor.ValueProperty
Sensor value property -
Method Summary
Modifier and Type Method Description static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmSensor.ValueProperty>
querySensorValue(java.lang.String identifier, java.lang.String sensorType)
Queries the sensor value of an hardware identifier and sensor type.
-
Method Details
-
querySensorValue
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<OhmSensor.ValueProperty> querySensorValue(java.lang.String identifier, java.lang.String sensorType)Queries the sensor value of an hardware identifier and sensor type.- Parameters:
identifier
- The identifier whose value to query.sensorType
- The type of sensor to query.- Returns:
- The sensor value.
-