Detect if user Idle on computer (vs in a windows universal app)

311 Views Asked by At

The solution given here : Detect if user Idle on windows universal app allows to detect the user idle inside the app. When the user is active elsewhere, the app considers only the activity in the app. So, how to detect a full user idle on the computer in a universal app?

1

There are 1 best solutions below

1
Daniel Meixner On

You could use the system trigger "UserAway" described here: https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.systemtriggertype.aspx

You could use it to fire a background task - depending on your specific scenario this might help you.