How can I kill some active processes by searching for their .exe filenames in C# .NET or C++?
You can use Process.GetProcesses() to get the currently running processes, then Process.Kill() to kill a process.