在哪里可以找到关于C#MSTSCLib的文档,特别是MsRdpClient类? [英] Where can I find documentation on the C# MSTSCLib, specifically the MsRdpClient classes?
问题描述
我想知道如何创建一个C#远程桌面客户端,并且互联网上的文档从稀疏到不存在。或者如果您有这些信息,请让我知道。我将编译尽可能多的信息,并将其发布到某处
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 :-)
再次感谢!
Jieren
Thanks again!
Jieren
编辑:为了澄清一点,我试图创建一个控制台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类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!