Property osVersion.winMajor Overload Gets Windows major version. public static int winMajor { get; } Property Value int