Convert Ipaddress to hostname
  • .

    Public Function GetHostNameFromIP(ByRef IP As String) As String
    Dim host As System.Net.IPHostEntry

    host = System.Net.Dns.GetHostByAddress(IP)
    Return host.HostName
    End Function

    this function return host name as a string and get ip address as a string

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    End Sub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week