Package oshi.software.os.windows
Class WindowsOSSystemInfo
java.lang.Object
oshi.software.os.windows.WindowsOSSystemInfo
public class WindowsOSSystemInfo
extends java.lang.Object
Windows OS native system information.
-
Constructor Summary
Constructors Constructor Description WindowsOSSystemInfo()Constructor for WindowsOSSystemInfo.WindowsOSSystemInfo(com.sun.jna.platform.win32.WinBase.SYSTEM_INFO si)Constructor for WindowsOSSystemInfo. -
Method Summary
Modifier and Type Method Description intgetNumberOfProcessors()Number of processors.
-
Constructor Details
-
WindowsOSSystemInfo
public WindowsOSSystemInfo()Constructor for WindowsOSSystemInfo. -
WindowsOSSystemInfo
public WindowsOSSystemInfo(com.sun.jna.platform.win32.WinBase.SYSTEM_INFO si)Constructor for WindowsOSSystemInfo.- Parameters:
si- aWinBase.SYSTEM_INFOobject.
-
-
Method Details
-
getNumberOfProcessors
public int getNumberOfProcessors()Number of processors.- Returns:
- Integer.
-