java.lang.Object
com.inductiveautomation.ignition.common.licensing.SystemInfo

public class SystemInfo extends Object
Convenience class for getting access to the system details and ID.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Use this method for testing the class on boxes with Java installed. You will need to ensure that there is at least one entry on the PATH environment variable that points to a folder containing the .dll and .so files.
      Throws:
      Exception
    • get

      public static SystemInfo get()
      Returns:
      The SystemInfo instance.
    • getSystemId

      public String getSystemId() throws Exception
      Returns:
      A (hopefully) unique and static identifier for this system.
      Throws:
      Exception - If the native library was not successfully loaded an Exception will be thrown.
    • getSystemDetails

      public Map<String,String> getSystemDetails()
      Information attempted (and corresponding map keys):

      • ignition.version
      • ignition.edition
      • java.vendor
      • java.vm.vendor
      • java.vm.name
      • java.version
      • java.runtime.version
      • os.name
      • os.version
      • os.arch
      • processorCount
      • totalPhysicalMemorySize
      Returns:
      A Map with the above listed keys/values.