Get Host name by IP address : IP Address « Socket Network « VB.Net Tutorial






Imports System
Imports System.Data
Imports System.Net
Imports System.Net.Sockets

Public Class Tester
    Public Shared Sub Main
    
        Dim CpIP As IPHostEntry
        CpIP = Dns.GetHostByAddress("68.234.12.1")
        Console.WriteLine(CpIP.HostName)
    End Sub

End Class








22.4.IP Address
22.4.1.Get Host name by IP address
22.4.2.Parse IP Address from string
22.4.3.Get IP address from IPEndPoint
22.4.4.Check equality for IP Address