1.获取ip地址
http://www.itbobo.com/asp-net-access-to-client-and-server-ip-address.html
HttpContext.Current.Request.ServerVariables.Get("Remote_Addr").ToString();