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.

    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.

    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.
    The following example shows information about the SiteKiosk version.

    <table border="0" bgcolor="#ebebeb" width="600" cellspacing="5"
    cellpadding="5" style="font-family:verdana;font-size:8pt;"
    <tr><td bgcolor="f8f8f8">
    The following example shows information about
    the installed version of SiteKiosk.
    <tr><td style="font-family:verdana;font-size:8pt;">
    <SCRIPT TYPE="text/javascript">
    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);

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

Back to top