Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

SystemInfo.WinServicePackMajor

Returns the major version number of the latest Service Pack installed on the system.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 2.8 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "SystemInfo.WinServicePackMajor" )

Parameters

none

Result

The version number.

Description

Returns the major version number of the latest Service Pack installed on the system.
For example, for Service Pack 3, the major version number is 3. If no Service Pack has been installed, the value is zero.

See also

Created 18th August 2014, last changed 18th August 2014


SystemInfo.WinProductType - SystemInfo.WinServicePackMinor

Feedback: Report problem or ask question.