Where can I find documentation on the C# MSTSCLib, specifically the MsRdpClient classes?(在哪里可以找到有关 C# MSTSCLib 的文档,特别是 MsRdpClient 类?)
问题描述
我想弄清楚如何创建 C# 远程桌面客户端,并且 Internet 上的文档从稀少到不存在.或者如果你有这些信息,请告诉我.我会尽可能多地收集信息并发布到某个地方
I would like to figure out how to create a C# Remote Desktop client and the documentation on the internet varies from sparse to non-existent. Or if you have this information, please let me know. I will compile as much info as possible and post it up somewhere
我想了解以下信息:
- 如何以编程方式连接到远程桌面服务器?我应该使用什么客户端类?大概有 20 个.
- 我知道你可以直接设置服务器和用户名.如何安全地设置密码?
为什么下面的代码不起作用?
- How do I connect programatically to a remote desktop server? What client class should I use? There are like 20 of them.
- I sort of know that you can set Server and Username directly. How do I set the password securely?
Why doesn't the following code work?
MsRdpClient7 rdc = new MSTSCLib.MsRdpClient7();
rdc.Server = "fake.bogus.com";
rdc.UserName = "JChen";
rdc.AdvancedSettings2.ClearTextPassword = "insecure";
rdc.Connect();
RDP 客户端的完整 API 是什么?我可以从中获得哪些信息?
What is the full API for the RDP client? What kinds of information can I get from it?
如果您一直在使用 C# 中的 RDP,请提供帮助.您将为所有需要学习此 API 的人提供巨大的服务,更重要的是,为我提供 :-)
If you've been working with RDP in C#, please help. You'll be providing a huge service to all the people who need to learn this API and more importantly, to me :-)
再次感谢!
杰人
Thanks again!
Jieren
为了澄清一点,我正在尝试创建一个控制台 RDP 客户端,它既可以向 RDP 服务器发送数据,也可以从 RDP 服务器接收数据.我已经使用 AxMsTscAxNotSafeForScripting 类型完成了 Forms RDP 客户端.
To clarify a bit, I'm trying to create a console RDP client that can both send data to and receive data from the RDP server. I've already done a Forms RDP client using the AxMsTscAxNotSafeForScripting type.
推荐答案
MSDN 有关于 远程桌面 ActiveX 控制界面
(多么长的描述性名称:))
(What a long and descriptive name :) )
这篇关于在哪里可以找到有关 C# MSTSCLib 的文档,特别是 MsRdpClient 类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在哪里可以找到有关 C# MSTSCLib 的文档,特别是 MsRdpClient 类?
基础教程推荐
- 在 VS2010 中的 Post Build 事件中将 bin 文件复制到物 2022-01-01
- 全局 ASAX - 获取服务器名称 2022-01-01
- 经典 Asp 中的 ResolveUrl/Url.Content 等效项 2022-01-01
- 是否可以在 asp classic 和 asp.net 之间共享会话状态 2022-01-01
- 错误“此流不支持搜索操作"在 C# 中 2022-01-01
- JSON.NET 中基于属性的类型解析 2022-01-01
- 首先创建代码,多对多,关联表中的附加字段 2022-01-01
- 从 VS 2017 .NET Core 项目的发布目录中排除文件 2022-01-01
- 如何动态获取文本框中datagridview列的总和 2022-01-01
- 将事件 TextChanged 分配给表单中的所有文本框 2022-01-01
