如何使用C#在远程计算机中打开控制面板? [英] How to Open control panel in a remote computer using C#?

查看:87
本文介绍了如何使用C#在远程计算机中打开控制面板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#打开远程计算机中的控制面板?



请告诉我任何课程?

解决方案

请参阅我对该问题的评论。形式上,答案是:使用远程桌面功能。要控制的远程计算机应运行RDP服务器。您要连接并用于控件的计算机应使用RPD客户端。请参阅:

http://en.wikipedia.org/wiki/Remote_Desktop_Protocol [< a href =http://en.wikipedia.org/wiki/Remote_Desktop_Protocol\"target =_ blanktitle =New Window> ^ ],

http://msdn2.microsoft.com/en-us/library/aa383015.aspx [ ^ ],

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q186607 [ ^ ]。



然而,这不是远程管理的真正完成方式。



首先要做的事情理解的是:你不能只是连接到一些任意的电脑。如果计算机运行适当的网络软件来监听管理员的连接并遵守命令,则可以远程控制计算机。



请参阅:

http://en.wikipedia.org/wiki/Remote_administration_software [ ^ ],

http://technet.microsoft.com/en-us/library/ee449475%28WS.10%29.aspx [ ^ ](例如) 。



最后一点:这完全是偏离主题的。您充当用户,而不是开发人员。如果您想开发自己的管理工具,您需要开发一些Window Service,并将其安装在受控制的计算机上。



-SA

How to Open control panel in a remote computer using C#?

Please tell me any classes for that?

解决方案

Please see my comments to the question. Formally, the answer would be: use the Remote Desktop feature. The remote computer you want to control should run the RDP server. And the computer you want to connect and use for the control should use the RPD client. Please see:
http://en.wikipedia.org/wiki/Remote_Desktop_Protocol[^],
http://msdn2.microsoft.com/en-us/library/aa383015.aspx[^],
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q186607[^].

However, this is not how remote administration is really done.

First thing to understand is: you cannot just connect to some arbitrary computer. The computer can be remotely controlled if it runs appropriate network software to listen to the administrators' connection and obey the commands.

Please see:
http://en.wikipedia.org/wiki/Remote_administration_software[^],
http://technet.microsoft.com/en-us/library/ee449475%28WS.10%29.aspx[^] (for example).

The last note: this is all really off-topics. You are acting as a user, not a developer. If you want to develop your own administration tools, you need to develop some Window Service, and install it on the computers under controls.

—SA


这篇关于如何使用C#在远程计算机中打开控制面板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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