getServerVersionAndBuild()
Returns server application version information.
Syntax
getServerVersionAndBuild()RETURNS gwa.app.TAppInformation
Returns a TServerVersionAndBuildResult record with application build version, build date time stamp, and error.
Usage
Use the getServerVersionAndBuild()
method to make a network request to the
server for index.html and extract the version information. On success, it
returns the server application version and the server build date. On error, the error string is
set.
For a complete example, run the GWA "update" demo in your GWA installation directory. If installed in FGLDIR, you will find the demo in $FGLDIR/demo/gwa/update or if installed in a separate directory, you will find it in gwa-install-dir/demo/gwa/update.