client ip address

Windows/c# 2011. 6. 3. 15:42

ASP .Net web page:

Expand|Select|Wrap|Line Numbers
  1. Dim strClientIP As String
  2. strClientIP = Request.UserHostAddress()
  3. Response.Write(strClientIP)
ASP .NET web services:
Expand|Select|Wrap|Line Numbers
  1. Context.Request.ServerVariables ["REMOTE_ADDR"]
Posted by 아로스

아로스

달력

05-18 20:44