我想从我的PC(比如PC1)在服务器PC上发送命令,该命令将启动和停止在服务器pc.please帮助中运行的应用程序。 [英] I want to send command on the server PC from my PC(say PC1) and that command will start and stop the application running in the server pc.please help.

查看:175
本文介绍了我想从我的PC(比如PC1)在服务器PC上发送命令,该命令将启动和停止在服务器pc.please帮助中运行的应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到很多例子,其中关键笔划/命令被发送到同一台PC上的其他应用程序,但我需要将关键笔划命令发送到另一台PC。

这里的目标是我在这里按一个键,我需要在另一台PC上执行该键(比如它打开一个程序)而不需要在客户端上安装程序。

我想从一个带有发送命令按钮的.net应用程序中执行此操作



我尝试了什么:



我读过不同的方法,但我很困惑。我找不到合适的方法。

I see a lot of examples where key strokes/commands are sent to other applications on the same PC, but I need to send key stroke commands to another PC.
The goal here is that I press a key here, I need to execute that key (say it opens a program) on another PC without the need for a program installed on the client.
I want to do it from a .net application having buttons to send command

What I have tried:

I have read different methods but I am confused. No appropriate method I found there.

推荐答案

你需要一个在目标PC上运行的应用程序,它具有某种形式的监听机制(通常是TCP / IP)端口)和控制PC将连接到该机器上的那个端口并发送指令。然后,目标PC将接收指令并执行它们。
You'll need an application running on the target PC that has some form of "listening" mechanism (usually a TCP/IP port) and the controlling PC would connect to that port on that machine and send instructions. The target PC will then receive the instructions and carry them out.


这篇关于我想从我的PC(比如PC1)在服务器PC上发送命令,该命令将启动和停止在服务器pc.please帮助中运行的应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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