vb.net怎么获取局域网中所有机器的IP和机器的名称?多谢
vb.net如何获取局域网中所有机器的IP和机器的名称?谢谢
如题,请教各位高手
------解决方案--------------------
for i as int16=0 to 255
System.Net.Dns.GetHostByAddress( "192.168.1 "&cstr(i)).HostName()
next
test Pass
如题,请教各位高手
------解决方案--------------------
for i as int16=0 to 255
System.Net.Dns.GetHostByAddress( "192.168.1 "&cstr(i)).HostName()
next
test Pass