Class Win32PhysicalMemory

java.lang.Object
oshi.driver.windows.wmi.Win32PhysicalMemory

@ThreadSafe public final class Win32PhysicalMemory extends Object
Utility to query WMI class Win32_PhysicalMemory
  • Method Details

    • queryphysicalMemory

      public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32PhysicalMemory.PhysicalMemoryProperty> queryphysicalMemory()
      Queries physical memory info for Win10 and later.
      Returns:
      Information regarding physical memory.
    • queryphysicalMemoryWin8

      public static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32PhysicalMemory.PhysicalMemoryPropertyWin8> queryphysicalMemoryWin8()
      Queries physical memory info for Win8 and earlier.
      Returns:
      Information regarding physical memory.