Winform 内的托管 RemoteAPP
满上 2015-04-15 03:31:50 rdp.Server = "192.168.1.173";
rdp.AdvancedSettings2.RDPPort = 3389;
rdp.UserName = "administrator";
rdp.AdvancedSettings8.ClearTextPassword = "aaa";
rdp.AdvancedSettings8.RedirectDrives = false;//映射驱动
rdp.AdvancedSettings8.RedirectPrinters = true;//映射打印
rdp.RemoteProgram.RemoteProgramMode = true;//远程接入
rdp.AdvancedSettings8.SmartSizing = true;//自动缩放
rdp.Connect();
rdp.RemoteProgram.ServerStartProgram(@"%SYSTEMROOT%\notepad.exe", "", "%SYSTEMROOT%", true, "", false);
--上面这段话有人说放到connect前面,都试过,Win窗口打开了,没调打开程序,
高手们帮帮忙,或给个例 子,非常 感谢