Class SystemInfo

java.lang.Object
com.serinity.accesscontrol.util.SystemInfo

public final class SystemInfo extends Object
System information class

Funcionalies:

Since:
2026-01-28 SystemInfo.java
Version:
1.0
Author:
@ZouariOmar (zouariomar20@gmail.com)
  • Method Details

    • getJavaVersion

      public static String getJavaVersion()
      Returns the current Java runtime version.
      Returns:
      Java version string
    • getJavafxVersion

      public static String getJavafxVersion()
      Returns the current JavaFX runtime version.
      Returns:
      JavaFX version string
    • getPrivateIpAddress

      public static String getPrivateIpAddress()
      Gets the first active non-loopback IPv4 address of the machine.
      Returns:
      private IPv4 address, or "unknown" when unavailable
    • getMacAddress

      public static String getMacAddress()
      Gets the MAC address of the first active network interface.

      Source: https://stackoverflow.com/a/30879040

      Returns:
      MAC address, or "unknown" when unavailable