View Single Post
  #8 (permalink)  
Old 03-04-2009, 7:00 AM
_powerade_ _powerade_ is offline
VB.NET Forum Newbie
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Sep 2008
Posts: 3
Reputation: 0
_powerade_ is on a distinguished programming path ahead
Default

Hi, try this:

Code:
Imports System.Net
Code:
Dim hostNameOrAddress As String = YourIPadress
Dim returnValue As IPHostEntry

Try
   returnValue = Dns.GetHostEntry(hostNameOrAddress)

   MessageBox.Show(returnValue.HostName())

Catch ex As Exception
   MessageBox.Show(ex.Message)

End Try
__________________
best regards _ powerade_

Last edited by _powerade_; 03-04-2009 at 7:07 AM.
Reply With Quote