string browser = String.Format("{0}{1}",HttpContext.Current.Request.Browser.Browser,HttpContext.Current.Request.Browser.Version);
string platform = HttpContext.Current.Request.Browser.Platform;
if (HttpContext.Current.Request.UserAgent != null)
  {
    if(HttpContext.Current.Request.UserAgent.IndexOf("Windows NT 5.2")>=0)
    platform = "Win2003";
  }
this.lbl_Browser.Text = browser;
this.lbl_Platform.Text = platform;
this.lbl_Ip.Text = HttpContext.Current.Request.UserHostAddress;

相关文章:

  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-09-19
  • 2022-03-05
  • 2022-03-10
猜你喜欢
  • 2021-10-23
  • 2022-01-14
  • 2022-12-23
  • 2021-04-02
相关资源
相似解决方案