Class HWIDProvider

java.lang.Object
pro.gravit.launcher.runtime.utils.HWIDProvider

public class HWIDProvider extends Object
  • 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

      public String getHWDiskID()
    • getGraphicCard

      public oshi.hardware.GraphicsCard getGraphicCard()
    • getGraphicCardName

      public String getGraphicCardName()
    • getGraphicCardMemory

      public long getGraphicCardMemory()
    • getDisplayID

      public byte[] getDisplayID()
    • getBaseboardSerialNumber

      public String getBaseboardSerialNumber()
    • getHardwareInfo

      public pro.gravit.launcher.base.request.secure.HardwareReportRequest.HardwareInfo getHardwareInfo(boolean needSerial)