windows - C# - Detect time of last user interaction with the OS -


I am writing a small tray application that requires users to find the last time with their machine Whether they're 'useless again'

Is there a way for a user to take the time to move his mouse for the last time, hit the key or interact with his machine in any way?

I understand that the windows clearly track this to show that the screen saver or power down etc., so I believe that it is a Windows to recover itself Is the API? Documented on

.


Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

actionscript 2 - getURL action script 2 and IE 7/8 -