如何在c#中通过套接字编程在另一台计算机上运行Exe文件 [英] How to run Exe file in another computer by socket programming in c#

查看:111
本文介绍了如何在c#中通过套接字编程在另一台计算机上运行Exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我有问题

我想通过c#中的套接字编程在另一台计算机上运行一个Exe文件。

how我可以吗。

请求帮助我。

谢谢

Hi all
I have a problem
I want to run a Exe file in another computer by socket programming in c# .
how can I this .
pleas help me .
thanks

推荐答案

你需要在可以接收套接字通信并运行可执行程序的远程计算机。 Google可以为您找到许多客户端/服务器套接字代码示例,您可以根据此任务进行调整。
You need to have something running in the remote computer that can receive the socket communications and run the executable program. There are many examples of client/server socket code that Google can find for you which you can adapt to this task.


您也可以尝试使用psexec,这里有一个很好的链接如何使用:



PsExec v1.98 [ ^ ]



PsExec(PsTools) [ ^ ]
You also can try the psexec, here is a good link how to use:

PsExec v1.98[^]

PsExec (PsTools)[^]


这篇关于如何在c#中通过套接字编程在另一台计算机上运行Exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆