Answers for "stop process c#"

C#
1

stop process c#

Process[] workers = Process.GetProcessesByName("worker")
foreach (Process worker in workers)
{
     worker.Kill();
     worker.WaitForExit();
     worker.Dispose();
}
Posted by: Guest on September-04-2020

C# Answers by Framework

Browse Popular Code Answers by Language