Reputation: 523
I would like to know please, in c#, how can i know if a certain process is running on a remote machine ?
The remote machine is in my network and i will alwyz be using the same user. Thanks
Upvotes: 0
Views: 2418
Reputation: 497
I will say that you could use WCF.
http://msdn.microsoft.com/en-us/library/dd456779.aspx
So you need to develop a small server listing processes on a computer and serving them through Object.
There is may be a easier way but this one for sure works.
Upvotes: 0
Reputation: 1906
You can use System.Diagnostics to check the local computer and then use.
Process[] processList = Process.GetProcesses("machineName");
Upvotes: 3