Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SystemInfo.WinMajorVersion
Returns the major version number of the operating system.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SystemInfo | 2.8 | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |
MBS( "SystemInfo.WinMajorVersion" )
Parameters
none
Result
Returns the major version number.
Description
Returns the major version number of the operating system.Returns 5 on Windows 2000/XP and 6 on Windows Vista/7/8.
Examples
Show window version:
Show Custom Dialog [ "Windows Version" ; MBS( "SystemInfo.WinMajorVersion" ) & "." & MBS( "SystemInfo.WinMinorVersion" ) ]
See also
- SystemInfo.MacMajorVersion
- SystemInfo.MacMinorVersion
- SystemInfo.WinCSDVersion
- SystemInfo.WinMinorVersion
This function is free to use.
Created 18th August 2014, last changed 28th January 2023
