在后台使用rdp连接,如ssh [英] using rdp connection in the background like ssh

查看:185
本文介绍了在后台使用rdp连接,如ssh的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

i在使用c#远程桌面

在应用程序中,activex控件显示远程计算机的屏幕。我希望rdp连接在后台运行,所以我编写示例代码:

private MSTSCLib.MsTscAxNotSafeForScriptingClass rdp;

private void button1_Click(object sender,EventArgs e)

{

rdp6 = new MSTSCLib.MsTscAxNotSafeForScriptingClass();

rdp6.Server =10.4.10.xxx;

rdp6.UserName =user;

rdp6.IMsRdpClientNonScriptable_ClearTextPassword =123;

rdp6.connect();

}

但是已经发生了一些事件。

异常是:

BinaryPassword导致system.notImplemented异常。

BinarySalt导致sy stem.notImplemented exception。



i希望在背景中运行rdp连接,不要显示远程计算机的屏幕。我可以这样做吗?

hi.
i have made a rdp application using c# in the reference of remote desktop using c#
in the application,activex control shows the screen of remote computer.i want the rdp connection running in the background,so i write the example code:
private MSTSCLib.MsTscAxNotSafeForScriptingClass rdp;
private void button1_Click(object sender, EventArgs e)
{
rdp6 = new MSTSCLib.MsTscAxNotSafeForScriptingClass();
rdp6.Server = "10.4.10.xxx";
rdp6.UserName = "user";
rdp6.IMsRdpClientNonScriptable_ClearTextPassword = "123";
rdp6.connect();
}
but some exeptions have occured.
the exception is :
BinaryPassword causes system.notImplemented exception.
BinarySalt causes system.notImplemented exception.

i want the rdp connection running in the backgroud and dont show the screen of remote computer.how can i do that?

推荐答案

我认为你不能这样做。与RDP一样,它是远程桌面协议,通过网络传输桌面控件。要获得类似SSH的行为,只需使用ssh服务器即可。 Windows也有几种选择。
I think you can't do that. Like RDP states it's a Remote Desktop protocol, to transfer desktop control via a network. To get SSH like behaviour just use an ssh server. There are several options for Windows too.


这篇关于在后台使用rdp连接,如ssh的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆