登 录
string Ip = string.Empty; Ip = Page.Request.UserHostAddress.ToString();
注意:要布置到服务器上,后验证,否则,在本地调试,一直是127.0.0.1
抱歉!评论已关闭.