title: Where can I find documentation on the C# MSTSCLib, specifically the MsRdpClient classes?
body: <p>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</p>
  
  <p>I'd like to learn the following information:</p>
  
  <ol>
  <li>How do I connect programatically to a remote desktop server? What client class should I use? There are like 20 of them.</li>
  <li>I sort of know that you can set Server and Username directly. How do I set the password securely?</li>
  <li><p>Why doesn't the following code work?</p>
  
  <pre><code>MsRdpClient7 rdc = new MSTSCLib.MsRdpClient7();
  rdc.Server = "fake.bogus.com";
  rdc.UserName = "JChen";
  rdc.AdvancedSettings2.ClearTextPassword = "insecure";
  rdc.Connect();
  </code></pre></li>
  <li><p>What is the full API for the RDP client? What kinds of information can I get from it?</p></li>
  </ol>
  
  <p>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 :-)</p>
  
  <p>Thanks again!<br>
  Jieren</p>
  
  <p><strong>EDIT:</strong> 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.</p>