Class SoftwareVersion

    • Constructor Detail

      • SoftwareVersion

        public SoftwareVersion()
      • SoftwareVersion

        public SoftwareVersion​(String name,
                               String version)
        Creates a software version instance. The operating system will be determined automatically.

        5. Security Considerations

        Revealing the application's underlying operating system may open the user or system to attacks directed against that operating system; therefore, an application MUST provide a way for a human user or administrator to disable sharing of information about the operating system.

        If you want to hide OS information, use SoftwareVersion(String, String, String) and pass null for the os parameter.

        Parameters:
        name - The software's name.
        version - The software's version.
      • SoftwareVersion

        public SoftwareVersion​(String name,
                               String version,
                               String os)
        Creates a software version instance.
        Parameters:
        name - The software's name.
        version - The software's version.
        os - The operating system.