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
I'd like to learn the following information:
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();
What is the full API for the RDP client? What kinds of information can I get from it?
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
EDIT: 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.
Documentation section: The documentation section consists of a set of comment lines giving the name of the program, the author and other details, which the programmer would like to use later.
The C standard library provides macros, type definitions and functions for tasks such as string handling, mathematical computations, input/output processing, memory management, and several other operating system services.
A comment starts with a slash asterisk /* and ends with a asterisk slash */ and can be anywhere in your program. Comments can span several lines within your C program. Comments are typically added directly above the related C source code.
MSDN has documentation for the Remote Desktop ActiveX Control Interface
(What a long and descriptive name :) )
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With