I have a routine that determines whether a process is alive Looks like this:
public bool IsProcessAlive(string hostname, string processName)
Process p = GetProcess(hostname, processName);
if (p == null)
If I pass a system name which is not the local machine I get the error:
Feature is not supported for remote machines. (NotSupportedException was unhandled)
What would be the work around for this? Is there another function I should be using instead?