I\'ve written a C# application which uses System.Diagnostics.Process class to create a process, using
System.Diagnostics.Process
Process P1 = new Process(); P1.FileName
I think Process.Kill() is what you're looking for.
Process.Kill()