通过远程桌面运行的程序可以调用客户端计算机上的程序吗?

发布于 2024-11-17 02:02:42 字数 294 浏览 2 评论 0原文

我正在开发一个程序,该程序将通过 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

jJeQQOZ5 2024-11-24 02:02:42

是的,可以使用远程桌面虚拟通道< /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.

三岁铭 2024-11-24 02:02:42

正确的方法是使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文