I am trying to get the IP address of client machine using C#. I am using the below code to get the IP address :
string IPAddress = HttpContext.Current.Reque
try using this
string ip=System.Net.Dns.GetHostEntry (System.Net.Dns.GetHostName()).AddressList.GetValue(0).ToString();