Tutorial: system.getRuntimeInfo

system.getRuntimeInfo

Returns information about the running Runtime in an object.

Example

fin.desktop.System.getRuntimeInfo(function (runtimeInfoObject) {
    console.log("Runtime build architecture:", runtimeInfoObject.architecture);
    console.log("Runtime manifest URL:", runtimeInfoObject.manifestUrl);
    console.log("Runtime websocket port:", runtimeInfoObject.port);
    console.log("Runtime security realm:", runtimeInfoObject.securityRealm);
    console.log("Runtime version:", runtimeInfoObject.version);
}, function (err) {
    console.log("Failed to get runtime info, error message:", err);
});