title: Determine if application has had any activity ? VB.NET
body: <p>Does anyone know of a way to detect recent activity in a VB.net windows forms application?</p>
  
  <p>We have a retail store where users share floor computers, the application will be on each machine and require a log in before use. I am trying to find a way to automatically close the application if it has been idle for lets say 10 minutes.</p>
  
  <p>I guess I could do something similar with the current windows log on session - set a gp that logs the user out after 10 minutes of inactivity - but if there is an easy, non memory intensive way to do it in vb.net i would rather use that method</p>
  
  <p>thanks</p>