Process current = new Process(); Process[] localmachine = Process.GetProcesses(); ///Loacal machine int count = localmachine.Count(); Process[] remotemachine= Process.GetProcesses("Prakash-PC");//Remote machine gives error int count1 = remotemachine.Count();
Couldn't connect to remote machine.
Quote:"Couldn't connect to remote machine" Error states that you don't have proper access permissions in place to connect and access it's processes. You need to make sure security privileges are in place and firewall issues are not there. Remote PC/server should allow remote connections.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)