HTML

html content help to improve the coding

Saturday, 21 April 2012

Get local IP address

Dim LocalHostName As String
Dim i As Integer
LocalHostName = Dns.GetHostName()
Dim ipEnter As IPHostEntry = Dns.GetHostByName(LocalHostName)
Dim IpAdd() As IPAddress = ipEnter.AddressList
For i = 0 to IpAdd.GetUpperBound(0)
Next
End Sub

No comments:

Post a Comment