How can I kill some active processes by searching for their .exe filenames in C# .NET or C++?
If you have the process ID (PID) you can kill this process as follow:
PID
Process processToKill = Process.GetProcessById(pid); processToKill.Kill();