ASP .Net web page:
Expand|Select|Wrap|Line Numbers
- Dim strClientIP As String
- strClientIP = Request.UserHostAddress()
- Response.Write(strClientIP)
Expand|Select|Wrap|Line Numbers
- Context.Request.ServerVariables ["REMOTE_ADDR"]
ASP .Net web page: