1.服务端直接求
var b = Request.Browser;
2.前端求:
参考:http://www.cnblogs.com/furenjun/archive/2011/09/15/getbrowserInfo.html