首页 > 其他 > 详细

Request.ServerVariables

时间:2015-05-05 16:01:01      阅读:194      评论:0      收藏:0      [点我收藏+]
    1. 客户端ip:  
    2. Request.ServerVariables.Get("Remote_Addr").ToString();  
    3. 客户端主机名:  
    4. Request.ServerVariables.Get("Remote_Host").ToString();  
    5. 客户端浏览器IE:  
    6. Request.Browser.Browser;  
    7. 客户端浏览器 版本号:  
    8. Request.Browser.MajorVersion;  
    9. 客户端操作系统:  
    10. Request.Browser.Platform;  
    11. 服务器ip:  
    12. Request.ServerVariables.Get("Local_Addr").ToString();  
    13. 服务器名:  
    14. Request.ServerVariables.Get("Server_Name").ToString(); 

Request.ServerVariables

原文:http://www.cnblogs.com/C-CHERS/p/4479208.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!