Retrieves the version information for the operating system.
public static Version getVersion()
Returns a Version object representing the version information for the operating system.
Use the getVersion method to retrieve a Version object that contains information about the type of operating system and its major, minor, and build version numbers.