An optional alphanumeric variable detailed_information can be passed to the function that will give detailed information on the operating system, including the operating system name and the version number. Note, however, that Windows version numbers do not necessarily match the official release numbers. For example, Windows 8.1 has a version number of 6.3.
The function returns the operating system code or, optionally, a text description of the operating system.