我正在尝试远程登录桌面。以下是打开登录界面的代码。(rdpSP是Microsoft Terminal Server Client Control - 版本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();
现在我能看到登录界面和用户域名/用户名,但是密码没有使用。 是否有可能自动登录或者至少填写密码?