Is a process running on a remote machine?

后端 未结 3 1126
野趣味
野趣味 2021-02-09 10:13

I have three remote PC\'s to which I remotely connect. I am trying to write a simple Windows application that would display in a single window whether a particular process is ru

3条回答
  •  野的像风
    2021-02-09 10:28

    Try Process.GetProcesses("chrome", "computerName");

    Defined in System.Diagnostics.Process as

    public static Process[] GetProcessesByName(
       string processName,
       string machineName)
    

提交回复
热议问题