Package oshi.driver.windows.wmi
Class Win32Bios
java.lang.Object
oshi.driver.windows.wmi.Win32Bios
Utility to query WMI class
Win32_BIOS
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
BIOS description properties.static enum
Serial number property. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32Bios.BiosProperty>
Queries the BIOS description.static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32Bios.BiosSerialProperty>
Queries the BIOS serial number.
-
Method Details
-
querySerialNumber
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32Bios.BiosSerialProperty> querySerialNumber()Queries the BIOS serial number.- Returns:
- Assigned serial number of the software element.
-
queryBiosInfo
public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32Bios.BiosProperty> queryBiosInfo()Queries the BIOS description.- Returns:
- BIOS name, description, and related fields.
-