局域网中的计算机列表 [英] list of computers in lan

查看:94
本文介绍了局域网中的计算机列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在lan中显示所有远程计算机

display all remote computer in lan

推荐答案

这比您想要的更多:检索局域网的IP和MAC地址 [ ^ ] - 但如果您只使用IP地址位,则可以获得计算机名称来自 Dns.GetHostEntry [ ^ ]和HostName属性。
This does more than you want: Retrieving IP and MAC addresses for a LAN[^] - but if you just use the IP address bit, you can get the computer name from that with Dns.GetHostEntry[^] and the HostName property.


你可以在查看一份清单中查看Sacha的文章网络计算机名称使用C# [ ^ ]。



讨论 msdn [ ^ ]也提供了一些解决方案。
You could take a look at Sacha''s article at Retreiving a list of network computer names using C#[^].

A discussion on msdn[^] provides a few solutions as well.


这篇关于局域网中的计算机列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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