Posts Tagged ‘ User IP Address ’

Get Web User IP Address for Local Network Web Application

This is going to work only for Local network Web Application, it will return proxy’s IP if anyone using Proxy to connect your Web Application.


string userIpAddress = Request.UserHostAddress.ToString();

Thanks
A Rahim Khan

Advertisements