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 pre
StandardInput.Write(ConsoleKey.F4);
Obviously you have to get StandardIn for the process.