ASP.NET Get Client IP
To get User IP Address in ASP.NET:
OR use Request if used inside ASP Page inherited from Page class
HttpContext.Current.Request.UserHostAddress;
OR use Request if used inside ASP Page inherited from Page class
Request.UserHostAddress;
Comments
Post a Comment