public FreeRdpControl()
        {
            InitializeComponent();

            rdp_client_entry_points_v1 e = new rdp_client_entry_points_v1();

            _entryPoint = &e;

            NativeMethods.RdpClientEntry(_entryPoint);

            _context = NativeMethods.freerdp_client_context_new(_entryPoint);

            _instance = _context->instance;
            _settings = _instance->settings;

            // TODO: Set values for Hostname, domain, username, password
            this.Hostname = "10.x.x.xx"; // atleast this one should be set
        }
Example #2
0
 public static extern int RdpClientEntry(rdp_client_entry_points_v1 *pEntryPoints);
Example #3
0
 public static extern rdpContext *freerdp_client_context_new(rdp_client_entry_points_v1 *pEntryPoints);