Interface OperatingSystemWrapper

    • Method Detail

      • getIdentificationType

        @Pure
        OperatingSystemIdentificationType getIdentificationType()
        Replies the type of identification provided by this wrapper.
        Returns:
        the type of identification provided by this wrapper.
      • getOSSerialNumber

        @Pure
        String getOSSerialNumber​(boolean enableSuperUser,
                                 boolean enableGUI)
        Get the OS serial number.
        Parameters:
        enableSuperUser - indicates if the super-user commands are enabled or not.
        enableGUI - indicates if any additional GUI could be opened, or not.
        Returns:
        the serial number associated to the current operating system.
      • getOSUUID

        @Pure
        String getOSUUID​(boolean enableSuperUser,
                         boolean enableGUI)
        Get the OS UUID.
        Parameters:
        enableSuperUser - indicates if the super-user commands are enabled or not.
        enableGUI - indicates if any additional GUI could be opened, or not.
        Returns:
        an unique identifier for the current operating system.