想要获取局域网中的所有系统 [英] Want to get all the system in LAN

查看:106
本文介绍了想要获取局域网中的所有系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获得通过vb.net在LAN中连接的所有系统..请帮我

i want to get all the system that are connected in a LAN through vb.net .. Help Me Please

推荐答案

请参阅类似的线程:
VB.Net:查找LAN上的所有IP [ ^ ]

..和更多线程
Refer similar thread:
VB.Net : Find all IPs on a LAN[^]

..and more threads here[^]


尝试一下:
http://vbnet.mvps.org/index.html?code/network/netserverenum.htm [^ ]
try this :
http://vbnet.mvps.org/index.html?code/network/netserverenum.htm[^]


I''m使用名为netscan的软件进行制作.完成此操作的方法是对一个完整的IP范围执行ping操作,因此,应将该程序作为从一个IP到另一个IP的循环,然后对每个IP进行ping操作,然后等待结果.

如果您想提高效率,那么在这种情况下,多线程是一个好主意.

我曾经用过google,并看到了一些可以帮助您的资源:

我的搜索 [ http://msdn.microsoft.com/en-us/library/he5sca5t (v = vs.80).aspx [ http://www.vbforums.com/showthread .php?333436-How-to-ping-a-machine-in-VB-.net [ http://www.pcreview.co.uk/forums/ping-computer- vbulletin-net-t3860764.html [ ^ ]

PS:给定IP范围的已定义参数,设置要检查的IP就像安装字符串一样容易.

希望这会有所帮助!
I''m using a software named netscan that makes that. The way it is done is by pinging a complete IP range so, the program should be done as a loop from one IP to another one and then pinging each one and waiting for the result.

If you want more effectiveness then multithreading is a good idea in that case.

I''ve used google and seen some resources that could help you:

my search[^]

http://msdn.microsoft.com/en-us/library/he5sca5t(v=vs.80).aspx[^]

http://www.vbforums.com/showthread.php?333436-How-to-ping-a-machine-in-VB-.net[^]

http://www.pcreview.co.uk/forums/ping-computer-vbulletin-net-t3860764.html[^]

PS: setting the IP to be checked should be as easy as mounting a string given the defined parameters of your IP ranges.

Hope this helps!


这篇关于想要获取局域网中的所有系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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