OSVersionInfoImpl

class OSVersionInfoImpl(osVersionInfo: OperatingSystem.OSVersionInfo) : OSVersionInfo

Represents an implementation of the OSVersionInfo interface. Provides concrete values for the version, code name, and build number of the operating system.

Author

N7ghtm4r3

Parameters

osVersionInfo

The OSVersionInfo object from the oshi.software.os.OperatingSystem class that provides the version, code name, and build number of the operating system.

See also

Constructors

Link copied to clipboard
constructor(osVersionInfo: OperatingSystem.OSVersionInfo)

Properties

Link copied to clipboard
open override val buildNumber: String

buildNumber The build number of the operating system.

Link copied to clipboard
open override val codeName: String

codeName The code name of the operating system version.

Link copied to clipboard
open override val version: String

version The version of the operating system.