Package oshi.driver.windows.wmi
Class Win32PhysicalMemory
java.lang.Object
oshi.driver.windows.wmi.Win32PhysicalMemory
Utility to query WMI class
Win32_PhysicalMemory
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Physical Memory properties for Win10 and later.static enum
Physical Memory properties for Win8 and earlier. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32PhysicalMemory.PhysicalMemoryProperty>
Queries physical memory info for Win10 and later.static com.sun.jna.platform.win32.COM.WbemcliUtil.WmiResult<Win32PhysicalMemory.PhysicalMemoryPropertyWin8>
Queries physical memory info for Win8 and earlier.
-
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.
-