Tutorial: system.getHostSpecs

system.getHostSpecs

Retrieves system information.

Example

fin.desktop.System.getHostSpecs(function (info) {
    console.log(info);
}, function (error) {
    console.log('There was an error:', error);
});

System Info

{
    aeroGlassEnabled: true   // if Aero Glass theme is supported on Windows platforms
    arch: "x86",   // "x86" for 32-bit or "x86_64" for 64-bit
    cpus: [ ... ], // Same payload as Node's os.cpus()
    gpu: {
        name: "AMD Radeon R9 M370x" // Graphics card name
    },
    memory: 17179869184, // Same payload as Node's os.totalmem()
    name: "Windows 10 Professional", // OS name and version/edition
    screenSaver: false  // if screensaver is running.  Supported on Windows only
}