通过远程桌面运行的程序可以调用客户端计算机上的程序吗?
我正在开发一个程序,该程序将通过 Windows 远程桌面运行,并在某个时刻打开一个网页。有人指出,如果该程序能够在本地 PC 上启动网页,而不是在您要连接的远程 PC 上启动网页,那就太好了。这样,它将在您最喜欢的网络浏览器中启动,加载速度更快,并且您可以以更少的延迟进行浏览。
然而,这可能吗?远程桌面是否有某些功能可以让我从用户登录的会话向他们的电脑发送命令?
如果没有,还有其他方法可以做到这一点吗?例如,我知道使用远程桌面时,剪贴板在客户端和远程PC之间共享/传输;我可以做些什么来使用它吗?
预先感谢您的任何答复!
I am developing a program that will be run through Windows remote desktop, and at a certain point it opens a webpage. Someone pointed out that it would be great if the program could launch the webpage on the local PC, though, instead of on the remote PC you're connecting to. This way it would launch in your favorite web browser, would load faster, and you could browse with less latency.
However, is it even possible to do this? Is there some feature of remote desktop that would let me send a command to the user's PC from the session they're logged in to?
If not, is there any other way to do this? For example, I know the clipboard is shared/transferred between client and remote PC when using remote desktop; is there anything I can do to use that?
Thanks in advance for any answers!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,可以使用远程桌面虚拟通道< /a>.有关 C# 示例,请参阅此处。由于虚拟通道同时具有客户端和服务器部分,因此这当然要求所有想要使用虚拟通道的 RD 客户端都安装客户端位。
Yes, this is possible using Remote Desktop Virtual Channels. See here for a C# sample. Since virtual channels have both a client and server piece, this would of course require that all RD clients that want to use the virtual channel have the client bits installed.
正确的方法是使用 Dan Ports 指定的虚拟通道。您需要开发 2 个小程序,一个在服务器上,一个在客户端计算机上。服务器只需通过虚拟通道向客户端发送命令,客户端收到命令后只需使用默认浏览器运行网页即可。
已经有免费和商业程序可以执行此操作,例如终端服务器远程执行器、2X 软件产品等。
The right way is using Virtual Channel as specified by Dan Ports. You need to develop 2 small programs, one on the server and one on the client machine. From the server just send a command to the client through the Virtual Channel, on the client side when receiving the command just run the webpage with the default browser.
There are already free and commercial programs that do that stuff like Remote Executer for Terminal Server, 2X Software product, etc.