Windows OS version list
Operating System |
Platformid |
Major version number |
Minor version number |
Windows 95 |
1 |
4 |
0 |
Windows 98 |
1 |
4 |
10 |
Windows ME |
1 |
4 |
90 |
Windowsnt3.5 |
2 |
3 |
0 |
Windowsnt4.0 |
2 |
4 |
0 |
Windows2000 |
2 |
5 |
0 |
Windows XP |
2 |
5 |
1 |
Windows2003 |
2 |
5 |
2 |
Windows Vista |
2 |
6 |
0 |
Windows 7 |
2 |
6 |
1 |
Windows 8 |
|
|
|
Obtains the related classes or attributes of operating system information. // Obtain system information
System. operatingsystem osinfo = system. environment. osversion;
// Obtain the Operating System ID. Here (INT) forced conversion
System. platformid = osinfo. Platform;
// Obtain the major version number
Int versionmajor = osinfo. version. Major;
// Obtain the minor version number
Int versionminor = osinfo. version. Minor; system. platformid enumeration value and its meaning the win32s operating system is of the win32s (Win32 subset) type.
Win32s is a layer running on Windows 16-bit. It provides 32-bit applications.Program.
The Windows operating system is Windows 95 or a newer version.
The win32nt operating system is Windows NT or a newer version.
Windows CE is the Windows CE operating system.
The UNIX operating system is UNIX.
The Xbox development platform is Xbox 360.