get ip address
get ip address with VB.net
Module Module1
Sub Main()
Dim h As System.Net.IPHostEntry = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName)
Console.WriteLine(CType(h.AddressList.GetValue(0), Net.IPAddress).ToString)
End Sub
End Module
Related posts:
- find the hostname for a known IP address find the hostname for a known IP address with C...
- Displays your IP address and hostname This example will display your IP address and hostname using...
- list serial ports This VB.net example shows how to list all serial ports...
- random numbers This example shows how to produce random numbers in VB.net...
- display running processes in a console application This Visual Basic.net displays running processes in a console application...
Related posts brought to you by Yet Another Related Posts Plugin.






















