pharaon450
pharaon450

Reputation: 523

c# How can i know if a certain process is running on a remote machine

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

Answers (2)

Kuqd
Kuqd

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

Ryand.Johnson
Ryand.Johnson

Reputation: 1906

You can use System.Diagnostics to check the local computer and then use.

Process[] processList = Process.GetProcesses("machineName");

Upvotes: 3

Related Questions