C#确定何时运行或退出外部应用程序
答
您可以使用WMI。有两个课程可能会对Win32_ProcessStartTrace Class和Win32_ProcessStopTrace Class感兴趣。查询this project了解更多信息。
为可能的复制[?如何监控进程/ Windows中执行程序(http://stackoverflow.com/q/510372/791745)或[C#进程监视器](http://stackoverflow.com/q/1986249/791745) –