OSProperties.ServicePackMajorVersion

The service pack major version number.

public sealed int ServicePackMajorVersion { get; }

See also:

Class OSProperties