本人通过调用AxMSTSCLib和MSTSCLib ,相关代码如下:
var x = new AxMsRdpClient2(); x.BeginInit(); Controls.Add(x); x.EndInit(); x.Dock = DockStyle.Fill; x.Server = _ip; x.AdvancedSettings2.RDPPort = 3389; x.AllowDrop = true; x.AdvancedSettings2.ClearTextPassword = "1q2w3e4r"; x.AllowDrop = true; x.UserName = "administrator"; x.Connect();
Connect连接进去后,本人不清楚怎么断开连接,并且注销上面登陆的用户, 本人通过调用x.disconnect()方法后 报错了:
有熟悉这方面的人么?本人不太熟悉怎么使用
解决方案
20
远程序桌面登录的.NET(C#)开发
http://blog.csdn.net/windxxf/article/details/6317902
怎么样用C#做个远程桌面管理工具?
http://www.zhihu.com/question/26797897/answer/34598225
实测有用
http://blog.csdn.net/windxxf/article/details/6317902
怎么样用C#做个远程桌面管理工具?
http://www.zhihu.com/question/26797897/answer/34598225
实测有用