C# - Close OpenVPN Cleanly
问题 We have written an application that sits in the tray controlling OpenVPN as an extension to a bigger application. If you run openvpn.exe on command line, you can press F4 to close it. We need to do send the same keypress from C#, but you can only send string values to StandardInput. We have been forced to kill OpenVpn to close it, and this seems to be causing BSOD every now and then on Vista... Here is a link to my post on MSDN that also describes the issue: MSDN Forums Does anyone know how