asp.net获取IP地址

 string uerIP = Request.ServerVariables["REMOTE_ADDR"];

原文地址:https://www.cnblogs.com/liuyunpiaohe/p/1707262.html