// Look for a proxy address first
String szIP = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];

// If there is no proxy, get the standard remote address
String szIP = Request.ServerVariables["REMOTE_ADDR"];





'ASP' 카테고리의 다른 글

ASP.NET 업로드시 용량 제한 걸릴 경우  (0) 2014.04.29
[ASP.NET MVC] ASP.NET MVC Entity Framework  (0) 2013.08.26
[ASP] 5M 이상 Size Upload  (0) 2013.07.02
Posted by 요지
,