Framework類庫的System
Imports System
Imports System
Module Module
Sub Main()
Dim strMachineName As String
strMachineName = Dns
Console
Dim ipHost As IPHostEntry
ipHost = Dns
Console
Dim ipAddr() As IPAddress = ipHost
Dim count As Integer
For count =
Console
ipAddr(count)
Next
End Sub
End Module
From:http://tw.wingwit.com/Article/program/net/201311/11540.html