1. if (System.Diagnostics.Process.GetProcessesByName("程序进程中的名称").ToList().Count > 0)
  2.  
    {
  3.  
    //存在
  4.  
    }
  5.  
    else
  6.  
    {
  7.  
    //不存在
  8.  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-28
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-03
相关资源
相似解决方案