Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Get the Local Machine IP Address
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How to Get the Local Machine IP Address
Miscellaneous
Thread ID:
00889584
Message ID:
00889584
Views:
42
Is there any easy way to get the IP address, I found some code, but it doesn't compile.
 Dim oAddr As System.Net.IPAddress
      Dim sAddr As String
      With system.Net.DNS.GetHostByName(system.Net.DNS.GetHostName())
         oAddr = New System.Net.IPAddress(.AddressList(0).Address)
         sAddr = oAddr.ToString
      End With
thanks

Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform