Q:

How can i execute a process on remote to another pc in c#

I want to call a process on a remote pc.
The following code works for local but i can`t make it work for remote pc
Process proc1 = new Process();

if (File.Exists("C:\\myApp.exe"))
{
    proc1.StartInfo.FileName = "C:\\myApp.exe";
    proc1.Start();
    proc1.Close();

}

A:

A similar question has been asked here:
How to execute a command in a remote computer?
One of the answers was to use sysinternals psexec
Another one of the answers was to use WMI

