Remoting
-
Can someone please tell me: How to run an application on a remote computer (on the same LAN)???? // This, I think will run my notepad on my machine Process.Start("notepad", "C:\\Windows\\notepad.exe"); // This, I think will run that remote machine's notepad on my machine. Process.Start("notepad", "\\\\remote-machine-name\\C$\\Windows\\notepad.exe"); // But how to run that remote machine's notepad on that remote machine.... ???? Thanks for your time ..
-
Can someone please tell me: How to run an application on a remote computer (on the same LAN)???? // This, I think will run my notepad on my machine Process.Start("notepad", "C:\\Windows\\notepad.exe"); // This, I think will run that remote machine's notepad on my machine. Process.Start("notepad", "\\\\remote-machine-name\\C$\\Windows\\notepad.exe"); // But how to run that remote machine's notepad on that remote machine.... ???? Thanks for your time ..
The first thing that comes to my mind, if you want to do this in C# is to make a client and a server. The server being at the remote end which executes processes as instructed by the clients. Or you could use PsExec.
-
The first thing that comes to my mind, if you want to do this in C# is to make a client and a server. The server being at the remote end which executes processes as instructed by the clients. Or you could use PsExec.
Thanks for your reply. You are right. I am basically building client server applications. Now, what I want to do is that: 1) Execute the server on my machine. 2) Through that server, initialize/execute the clients(.exe) on the client machines. 3) Clients will then start communication with the server. I actually need help with that 2nd step. PsExec looks to be interesting, and I will play with it tomorrow and see if that will serve the purpose. But i guess, in this case, I will have to use PsExec instead of my server to initialize the client applications. Thanks. Sarfraz
-
Thanks for your reply. You are right. I am basically building client server applications. Now, what I want to do is that: 1) Execute the server on my machine. 2) Through that server, initialize/execute the clients(.exe) on the client machines. 3) Clients will then start communication with the server. I actually need help with that 2nd step. PsExec looks to be interesting, and I will play with it tomorrow and see if that will serve the purpose. But i guess, in this case, I will have to use PsExec instead of my server to initialize the client applications. Thanks. Sarfraz