dear sir,
i have tried this als but it is giving me ip 127.0.0.1 can u tell me
Dim strHostName As String = System.Net.Dns.GetHostName()
Dim clientIPAddress As String = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString()
when i applying this code on local host it is working fine but when i was using it on server it is giving this ip address 10.49.39.51 which ip address is this bcoz i was getting same ip address whn i using it from anywhere...
is there any other way to get the ip address which really work...please help me out....thnks in advance...