gpt4 book ai didi

c# - 任何在远程PC上播放音频文件的简便方法

转载 作者:行者123 更新时间:2023-12-02 22:52:12 24 4
gpt4 key购买 nike

我需要远程触发在远程PC上播放音频文件。
有问题的PC可能与触发系统不在同一个域中。它可能正在运行XP或Vista。音频文件可以位于远程计算机上。

我具有每台远程PC的所有本地登录详细信息。

我可以编写一个可以处理自动连接,协商和回放的客户端/服务器服务应用程序,但是我想知道我可以远程触发的每个OS是否支持任何选项。

例如,我可以手动使用MIcrosofts Remote Desktop Connection轻松完成所有操作,但是我可以调用一个库吗?

最佳答案

看一下Sysinternal工具套件。特别是psexec工具可以满足您的需求。它允许您在Windows远程计算机上运行仅存在于计算机上的任何命令,甚至可执行文件。

Introduction

Utilities like Telnet and remote control programs like Symantec's PC Anywhere let you execute programs on remote systems, but they can be a pain to set up and require that you install client software on the remote systems that you wish to access. PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. PsExec's most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems.



要更深入地了解其工作原理,请查看 thisthis文章。

关于c# - 任何在远程PC上播放音频文件的简便方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1497502/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com