BrowserHelpers.GetOverriddenUserAgent(HttpContextBase) 方法

定义

返回重写的用户代理值或实际的用户代理字符串(如果未指定重写)。

public static string GetOverriddenUserAgent (this System.Web.HttpContextBase httpContext);
static member GetOverriddenUserAgent : System.Web.HttpContextBase -> string
<Extension()>
Public Function GetOverriddenUserAgent (httpContext As HttpContextBase) As String

参数

httpContext
HttpContextBase

当前上下文。

返回

用户代理字符串

适用于