title: Get Active Window of .net application
body: <p>I have an application named ProLaunch.exe. I want to get the active window in it and close it if the user is not performing any operation for the speicified period. A timer in the application will be used for this purpose.</p>
  
  <p>How can I get the active window and close it?</p>