how to get system ip address in vb.net
  • how can i get my machine ip address using vb.net code ?
  • 1 Comment sorted by
  • Vote Up0Vote Down ithackerithacker
    117.50 Karma Accepted Answer
     try this code

            Dim HostName As String
            Dim IPAddress As String

            HostName = System.Net.Dns.GetHostName()
            IPAddress = System.Net.Dns.GetHostByName(HostName).AddressList(0).ToString()

            Return IPAddress


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

Tagged

Popular Posts of the Week

    Optimum Creative