带有 mstscax.dll 的远程 (RDP) 实用程序
我正在寻找有关在 VB 中使用 mstscax.dll 的信息。目标是创建一个实用程序,以与远程桌面相同的方式登录远程服务。但是,我的实用程序不需要显示桌面。
我将首先执行一系列命令,这些命令将查找用户、重置登录、影子和消息。我一直在 RDP 上使用批处理文件来执行这些功能,但我们已经在寻找比批处理命令所能提供的更多功能和功能。
我正在谷歌搜索“mstscax.dll”,但尽管我继续搜索,但结果并不令人满意。有人有什么好的参考吗?这有可能吗?
I am looking for information on using mstscax.dll in VB. The goal is to create a utility that logs into a remote service in the same manner as remote desktop. However, my utility is not required to show the desktop.
I have a series of commands that I will start off with that will look for users, reset logins, shadow, and message. I have been using a batch file on my RDP to perform these functions, but we are already looking for more functionality and power than what the batch commands can offer.
I am googling 'mstscax.dll' but the results have been less than satisfactory although I continue to search. Does anyone have any good references? Is this even going to be possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想要列出远程桌面会话或在远程桌面会话上执行操作,您可能会找到 Cassia 库 有帮助。该库可以列出登录到服务器的用户、断开或注销会话、影子会话以及在会话中显示消息框等。 (请注意,影子功能需要项目的 构建中提供该库的预发行版本服务器——使用工件链接。)
If you are looking to list or perform operations on remote desktop sessions, you might find the Cassia library helpful. The library can list users logged on to a server, disconnect or logoff sessions, shadow sessions, and display message boxes in a session, among other things. (Note that the shadowing functionality requires a pre-release version of the library available on the project's build server -- use the artifacts link.)
我认为你应该使用 msrdp.ocx 控件而不是那个 dll,尽管我个人从未使用过,所以不能肯定地说。
编辑:添加链接
这是一篇有关自动化 RDP 的 codeproject 文章:
http://www.codeproject。 com/KB/cs/RemoteDesktop_CSharpNET.aspx
I think you're supposed to use the msrdp.ocx control rather than that dll, though I've personally never used either so can't say for sure.
Edit: Add link
Here's a codeproject article about automating RDP:
http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx