maa*_*vdv 5 c# rdp remote-desktop
我正在尝试登录远程桌面。我可以使用以下代码打开登录屏幕。(rdpSP 是 Microsoft 终端服务器客户端控件 - 版本 1)
rdpSP.Server = "the IP";
rdpSP.Domain = "the domain";
rdpSP.UserName = "the username";
MSTSCLib.IMsTscNonScriptable secured = (MSTSCLib.IMsTscNonScriptable)rdpSP.GetOcx();
secured.ClearTextPassword = "the password";
rdpSP.Width = this.Width;
rdpSP.Height = this.Height;
rdpSP.Connect();
Run Code Online (Sandbox Code Playgroud)
现在我可以看到登录屏幕和用户域/用户名。但是没有使用密码。是否可以自动登录或至少填写密码?
| 归档时间: |
|
| 查看次数: |
2024 次 |
| 最近记录: |