Package pro.gravit.launcher.utils
Class HWIDProvider
java.lang.Object
pro.gravit.launcher.utils.HWIDProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal oshi.hardware.HardwareAbstractionLayerfinal oshi.software.os.OperatingSystemfinal oshi.SystemInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]oshi.hardware.GraphicsCardlongpro.gravit.launcher.request.secure.HardwareReportRequest.HardwareInfogetHardwareInfo(boolean needSerial) intlongintlongboolean
-
Field Details
-
systemInfo
public final oshi.SystemInfo systemInfo -
system
public final oshi.software.os.OperatingSystem system -
hardware
public final oshi.hardware.HardwareAbstractionLayer hardware
-
-
Constructor Details
-
HWIDProvider
public HWIDProvider()
-
-
Method Details
-
getBitness
public int getBitness() -
getTotalMemory
public long getTotalMemory() -
getProcessorMaxFreq
public long getProcessorMaxFreq() -
getProcessorPhysicalCount
public int getProcessorPhysicalCount() -
getProcessorLogicalCount
public int getProcessorLogicalCount() -
isBattery
public boolean isBattery() -
getHWDiskID
-
getGraphicCard
public oshi.hardware.GraphicsCard getGraphicCard() -
getGraphicCardName
-
getGraphicCardMemory
public long getGraphicCardMemory() -
getDisplayID
public byte[] getDisplayID() -
getBaseboardSerialNumber
-
getHardwareInfo
public pro.gravit.launcher.request.secure.HardwareReportRequest.HardwareInfo getHardwareInfo(boolean needSerial)
-