Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

Deprecated

This function was deprecated.

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

Release notes

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 28th January 2023


SystemInfo.WinProductType - SystemInfo.WinServicePackMinor