
Process.Kill Method (System.Diagnostics) | Microsoft Docs
6/8/2020· The Kill method forces a termination of the process, while CloseMainWindow only requests a termination. When a process with a graphical interface is executing, its message loop is in a wait state. The message loop executes every time a Windows message is sent …