Answers for "c# check if a list of process is running"

C#
0

check if process is open c#

Process[] proc = Process.GetProcessesByName("chrome");
if (proc.Length == 0) {
  // run whatever here if process is NOT open
}
else {
  // run whatever here if process is open
}
Posted by: Guest on November-01-2020

Code answers related to "c# check if a list of process is running"

C# Answers by Framework

Browse Popular Code Answers by Language