c#使用远程桌面需要调用两个DLL
1、AxInterop.MSTSCLib.dll
2、Interop.MSTSCLib.dll
在添加引入后在工具箱的选择项上添加Microsoft Terminal Services Control
在工具箱上出现此控件后添加到窗体中。代码:
rdp3.Server = "";//你要连接的电脑的IP
rdp3.UserName = "administrator";//用户名
IMsTscNonS
c#使用远程桌面需要调用两个DLL
1、AxInterop.MSTSCLib.dll
2、Interop.MSTSCLib.dll
在添加引入后在工具箱的选择项上添加Microsoft Terminal Services Control
在工具箱上出现此控件后添加到窗体中。代码:
rdp3.Server = "";//你要连接的电脑的IP
rdp3.UserName = "administrator";//用户名
IMsTscNonS