I\'ve written a C# application which uses System.Diagnostics.Process
class to create a process, using
Process P1 = new Process();
P1.FileName
I think Process.Kill()
is what you're looking for.
Use Process.Kill instead.
Process.Close() isn't meant to abort the process - it's just meant to release your "local" view on the process, and associated resources.
I think you mean Process.Kill() or Process.CloseMainWindow(). Personally I'd try to find a more graceful way of shutting it down though.