The versions of MsRdpClient are 9, 8, 7, and in the provided code, 2. Per plenty of other posts on StackOverflow this code should connect me to my computer (RDP is enabled) and show me the log in screen.
I apologize for not including more information, but I'm at a loss as to why this doesn't work.
using System;
using System.Windows.Forms;
namespace MsTscTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
axMsRdpClient2NotSafeForScripting1.Server = "127.0.0.1";
axMsRdpClient2NotSafeForScripting1.Connect();
}
private void button2_Click(object sender, EventArgs e)
{
axMsRdpClient2NotSafeForScripting1.Disconnect();
}
}
}