Fork me on GitHub

获取客户端ip

string ip = HttpContext.Current.Request.UserHostAddress;

posted @ 2013-01-25 11:31  思考的大腿  阅读(141)  评论(0编辑  收藏  举报