System.SysUtils.TOSVersion.ServicePackMajor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property ServicePackMajor: Integer read FServicePackMajor;

C++

/* static */ __property int ServicePackMajor = {read=FServicePackMajor};

Properties

Type Visibility Source Unit Parent
property public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TOSVersion

Description

Represents the major service pack version number for the current operating system.

The Check function is used to compare the version of the current operating system and the major version number of the service pack installed for the current operating system with specific values.

See Also