如何在网络中显示所有计算机名称/ IP连接? [英] How Can I Display All The Computer Names / Ip Connected In My Network?
本文介绍了如何在网络中显示所有计算机名称/ IP连接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何帮助请...
谢谢....
解决方案
你必须使用System.Net.NetworkInformation命名空间。以下链接将帮助您:
http://stackoverflow.com/questions/151231/how-do-i-get-the-local -network-ip-address-of-a-computer-programmingmatically-c [ ^ ]
http://stackoverflow.com/questions/6803073/get-local-ip-address-c-sharp [ ^ ]
除了解决方案#1之外,你还应该看看检索我们的网络计算机名称列表C# [ ^ ]。
-KR
Any Help Please...
thanks....
解决方案
You have to use using System.Net.NetworkInformation namespace. The below link will help you:
http://stackoverflow.com/questions/151231/how-do-i-get-the-local-network-ip-address-of-a-computer-programmatically-c[^]
http://stackoverflow.com/questions/6803073/get-local-ip-address-c-sharp[^]
Apart from Solution #1, you should also look at Retreiving a list of network computer names using C#[^].
-KR
这篇关于如何在网络中显示所有计算机名称/ IP连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文