int64 GetSystemUptimeMs ()

Gets the system uptime in milliseconds

Security

Trust Level Required: Low Trust

Return

The system uptime in milliseconds

Remarks

This function can be paired with KioApp.GetLastUserActivityTime() to obtain the total number of inactive milliseconds.

Examples


var inactiveMs = KioUtils.GetSystemUptimeMs() - KioApp.GetLastUserActivityTime(); 
    

Requirements

KioWare for Windows version 8.7 or greater.