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++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -