📌  相关文章
📜  检查进程是否打开 c# 代码示例

📅  最后修改于: 2022-03-11 14:48:48.258000             🧑  作者: Mango

代码示例1
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
}