SyntaxFix
Write A Post
Hire A Developer
Questions
string userRequest = System.Web.HttpContext.Current.Request.UserHostAddress;
This works on me.
System.Web.HttpContext.Current.Request.UserHostName; this one return me the same return I get from the UserHostAddress.
System.Web.HttpContext.Current.Request.UserHostName;
UserHostAddress