Class SystemInfo
java.lang.Object
com.inductiveautomation.ignition.common.licensing.SystemInfo
Convenience class for getting access to the system details and ID.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SystemInfo
get()
Information attempted (and corresponding map keys):static void
Use this method for testing the class on boxes with Java installed.
-
Method Details
-
main
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
- Returns:
- The SystemInfo instance.
-
getSystemId
- 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
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.
-