这个你直接在你web页面去做不就行了;把当前浏览器信息给记录下来保存;
是Chrome浏览器开发时在版本中输入了Desktop
Page:
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</div>
</form>
Code:
protected void Page_Load(object sender, EventArgs e)
{
HttpBrowserCapabilities bcp = Request.Browser;
if (bcp != null)
Label1.Text = bcp.Type;
else
Label1.Text = "null";
}