I deployed my C# WinForms application using ClickOnce installation. Everything works fine with it (after a lot of work) :), but now I\'m facing a problem:
Whenever
if (Process.GetProcesses().Count(p => p.ProcessName == "exe name") > 1) { foreach (var process in Process.GetProcessesByName("exe name")) { process.Kill(); } }