Version Object



 
The Version object contains information about the version of SiteKiosk.


Members Table

    The following table lists the members provided by the Version object.

    Members
    Properties Description
    BuildDateTime SiteKiosk Build date and time.
    BuildNumber SiteKiosk Build number.
    MajorVersion SiteKiosk Major version number.
    MinorVersion SiteKiosk Minor version number.
    VersionString Complete SiteKiosk version information.

Remarks
    This object is available through the main object SiteKiosk. Use the Version object to determine the version and build of SiteKiosk.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example shows information about the SiteKiosk version.

    <html>
    <body>
    <table border="0" bgcolor="#ebebeb" width="600" cellspacing="5"
    cellpadding="5" style="font-family:verdana;font-size:8pt;"
    align="center">
    <tr><td bgcolor="f8f8f8">
    The following example shows information about
    the installed version of SiteKiosk.
    </td></tr>
    <tr><td style="font-family:verdana;font-size:8pt;">
    <pre>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    if (SiteKiosk.Dialup.ConnectionStatus)
    skonl = "online"; else skonl = "offline";
    skmajver = SiteKiosk.Version.MajorVersion;
    skminver = SiteKiosk.Version.MinorVersion;
    skbnr = SiteKiosk.Version.BuildNumber;
    skbdt = SiteKiosk.Version.BuildDateTime;
    skdir = SiteKiosk.SiteKioskDirectory;
    skpid = SiteKiosk.ProcessID;
    document.writeln("Version number: " + skmajver + "." + skminver);
    document.writeln("Build number: " + skbnr);
    document.writeln("Build date: " + skbdt);
    document.writeln("Installation folder: " + skdir);
    document.writeln("Connection status: " + skonl);
    document.write("Process ID: " + skpid);
    </SCRIPT>
    </pre>
    </td></tr>
    </table>
    </body>
    </html>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top