Package pro.gravit.launcher.hwid
Class OshiHWIDProvider
- java.lang.Object
-
- pro.gravit.launcher.hwid.OshiHWIDProvider
-
- All Implemented Interfaces:
pro.gravit.launcher.hwid.LauncherHWIDInterface
public class OshiHWIDProvider extends java.lang.Object implements pro.gravit.launcher.hwid.LauncherHWIDInterface
-
-
Field Summary
Fields Modifier and Type Field Description oshi.hardware.HardwareAbstractionLayerhardwarebooleannoHWIDoshi.SystemInfosystemInfo
-
Constructor Summary
Constructors Constructor Description OshiHWIDProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAvailableMemory()java.lang.StringgetHWDisk()pro.gravit.launcher.hwid.HWIDgetHWID()java.lang.StringgetMacAddr()java.lang.StringgetProcessorID()java.lang.StringgetSerial()longgetTotalMemory()voidprintHardwareInformation()
-
-
-
Method Detail
-
getSerial
public java.lang.String getSerial()
-
getProcessorID
public java.lang.String getProcessorID()
-
getHWDisk
public java.lang.String getHWDisk()
-
getMacAddr
public java.lang.String getMacAddr()
-
getTotalMemory
public long getTotalMemory()
-
getAvailableMemory
public long getAvailableMemory()
-
printHardwareInformation
public void printHardwareInformation()
-
getHWID
public pro.gravit.launcher.hwid.HWID getHWID()
- Specified by:
getHWIDin interfacepro.gravit.launcher.hwid.LauncherHWIDInterface
-
-