Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System Idle Detection

Tags:

c#

wpf

I want to detect if the system is idle, ie: user not using the system. I want it like the Windows Live Messenger it changes automatically to away when I leave the computer for a time like 3 minutes, I want to set this time within the code.

I`m working on the WPF under C# environment using both visual studio 2008 and 2010 so if here is a way that work on both that`ll be great.

like image 576
sikas Avatar asked Jun 22 '10 11:06

sikas


1 Answers

There's an article on CodeProject that should get you started.

like image 118
Darin Dimitrov Avatar answered Oct 01 '22 17:10

Darin Dimitrov