Dim hostname As String
hostname = System.Net.Dns.GetHostName()
Dim localipaddresses As New IPHostEntry
localipaddresses = Dns.GetHostEntry(hostname)
Response.Write("Your Local IP Address is: " & localipaddresses.AddressList(0).ToString() & "</em><br />")
No comments:
Post a Comment