How to close running exe file in c# code
Process[] processes=Process.GetProcessesByName("service name");
//Process.GetProcessesByName("conhost");
foreach (var process in processes) { process.Kill(); }