如何以编程方式使用终端服务

编程入门 行业动态 更新时间:2024-10-28 20:17:22
本文介绍了如何以编程方式使用终端服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想用我的程序(C#.NET)来访问远程服务器,并执行有计划的连接用户的上下文中,就像使用远程桌面。

I want to access remote server using my program (C# .NET) and execute there a program in the context of connected user, just like using Remote Desktop.

我不想只是运行使用一些用户帐户(如运行方式)的程序,但有一个单独的执行会像远程桌面

I don't want just run a program using some user account(like RunAs), but to have a separate execution session like Remote Desktop

我猜终端服务应该以某种方式使用,但我不知道到底。 任何帮助将是AP preciated。

I guess terminal services should be used somehow, but I don't know exactly. Any help would be appreciated.

推荐答案

您应该看看这个开源项目:的 HTTP://www.$c$cplex/Terminals 它使用终端服务ActiveX客户端(mstscax.dll的)做了很多有趣的事情。

You should check out this open source project: www.codeplex/Terminals It uses Terminal Services ActiveX Client (mstscax.dll) to do a lots of interesting things.

只需下载该项目,并检查了源代码,我敢肯定它会给你,你需要做你想要的所有信息。

Just download the project and check out the source, Im sure it will give you all information you need to do what you want.

更多推荐

如何以编程方式使用终端服务

本文发布于:2023-11-03 13:38:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555257.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:终端   方式

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!