System.SysUtils.TOSVersion.ServicePackMinor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class property ServicePackMinor: Integer read FServicePackMinor;

C++

/* static */ __property int ServicePackMinor = {read=FServicePackMinor};

Properties

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

Description

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

Example (Delphi):

Writeln(Format('SP version: %d.%d', [TOSVersion.ServicePackMajor, TOSVersion.ServicePackMinor]));

Possible output:

SP version: 3.0

See Also