OSMajorVersion Property



 
The OSMajorVersion property contains the major version number of the Operating System.


Syntax

    [long=] SiteCafe.OSMajorVersion
    
Possible Values
    Long value that retrieves the major version.

    The property is read only.
Remarks
    The major version number is the number notated before the point.
    Possible values are:

    3 : Windows NT 3.51
    4 : Windows 95/98/ME/NT
    5 : Windows XP/2000/Server 2003 family
Examples
    The following example displays the major version number of the Operating System.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteCafe.OSMajorVersion);
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to top