Class Win32BiosJNA

java.lang.Object
oshi.driver.common.windows.wmi.Win32Bios
oshi.driver.windows.wmi.Win32BiosJNA

@ThreadSafe public final class Win32BiosJNA extends oshi.driver.common.windows.wmi.Win32Bios
Utility to query WMI class Win32_BIOS using JNA.
  • Nested Class Summary

    Nested classes/interfaces inherited from class oshi.driver.common.windows.wmi.Win32Bios

    oshi.driver.common.windows.wmi.Win32Bios.BiosProperty, oshi.driver.common.windows.wmi.Win32Bios.BiosSerialProperty
  • Field Summary

    Fields inherited from class oshi.driver.common.windows.wmi.Win32Bios

    WIN32_BIOS_WHERE_PRIMARY_BIOS_TRUE
  • Method Summary

    Modifier and Type
    Method
    Description
    static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32Bios.BiosProperty>
    Queries the BIOS description.
    static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32Bios.BiosSerialProperty>
    Queries the BIOS serial number.

    Methods inherited from class Object

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

    • querySerialNumber

      public static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32Bios.BiosSerialProperty> querySerialNumber()
      Queries the BIOS serial number.
      Returns:
      Assigned serial number of the software element.
    • queryBiosInfo

      public static WbemcliUtil.WmiResult<oshi.driver.common.windows.wmi.Win32Bios.BiosProperty> queryBiosInfo()
      Queries the BIOS description.
      Returns:
      BIOS name, description, and related fields.