如何使用C#使用.net连接Windows服务器,请提供相同的示例代码 [英] How to connect windows server using .net with c#, Please provide the sample code for the same

查看:116
本文介绍了如何使用C#使用.net连接Windows服务器,请提供相同的示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< small< u>< big>


(例如,用户在下拉列表中选择任意一个IP地址.选择IP地址后''会询问特定IP地址的用户名和密码,输入用户名和密码后,系统将验证用户名和密码,正确无误,特定的系统路径将打开)</b















(例如,用户在下拉列表中选择任意一个IP地址.选择IP地址后''会询问特定IP地址的用户名和密码,输入用户名和密码后,系统将验证用户名和密码,正确无误,特定的系统路径将打开) ;</a< pre>< pre></pre></pre>& lt;如何使用.net和c#连接Windows Server?

<small><u><big>


( For Example user select any one ip address in dropdow list.After selecting ip address it'' will ask user name and password of particular ip address,After entring usrename and password the system will validate the user name and password, the are correct , the particular system path will open)</b















( For Example user select any one ip address in dropdow list.After selecting ip address it'' will ask user name and password of particular ip address,After entring usrename and password the system will validate the user name and password, the are correct , the particular system path will open)ig></u></small><b></b><a href=""></a><a href=""></a><pre><pre></pre></pre>&lt;How to connect windows server using .net with c#?

推荐答案

您可以使用以下方法连接到任何计算机:

1)使用TcpClient连接
2)使用远程桌面协议
3)使用WebServices
4)使用WebClient并获取html页面
5)使用命名管道
6)使用WCF

随便吧.
You can connect to a any machine with the following methods :

1) Using TcpClient connections
2) Using Remote Desktop Protocol
3) Using WebServices
4) Using WebClient and getting a html page
5) Using Named Pipes
6) Using WCF

Take your pick.


这篇关于如何使用C#使用.net连接Windows服务器,请提供相同的示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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