title: Detecting idle time in .NET CompactFramework Applications
body: <p>We want to activate a process if the user does not interact for 2 mins with our compact framework application running on our custom built devices.</p>
  
  <p>I found an excellent C# sample code of Code Project(<a href="http://www.codeproject.com/KB/cs/ApplicationIdle.aspx" rel="nofollow noreferrer">http://www.codeproject.com/KB/cs/ApplicationIdle.aspx</a>) but it is not supported for compact framework as this code depends on Timers Class and Application.Idle events.</p>
  
  <p>Can someone suggest me how to detect idle time?</p>