IOperatingSystemVersion.MajorVersion

Syntax

MajorVersion: Integer;

Description

The MajorVersion property returns number of major version of the operating system.

Comments

For example, if operating system version is 5.1.2600, major version number is 5.

Example

The property use is given in description of BuildNumber.

See also:

IOperatingSystemVersion