Resources  
  • Find And Close The Window Using WIN APIFeb 01, 2008. This article explains how to find and close the window using Win API. To find and close a window using the Windows API in a C# application, you can use the FindWindow function to locate the window by its title or class name, and then use the SendMessage function with the WM_SYSCOMMAND and SC_CLOSE parameters to send a close command to the window. Here's a step-by-step description.
  • Kill an Application with System Menu using C#Nov 20, 2002. This article uses the Windows API’s to kill the application running under windows environment.