C# 获取客户端主机IP

string IP = HttpContext.Request.UserHostAddress;

posted @ 2020-09-26 17:12  waityu  阅读(174)  评论(0编辑  收藏  举报