CookieBrowserOverrideStore.GetOverriddenUserAgent Method
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Looks for a user agent by searching for the browser override cookie.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Overrides Function GetOverriddenUserAgent ( _
httpContext As HttpContextBase _
) As String
'Usage
Dim instance As CookieBrowserOverrideStore
Dim httpContext As HttpContextBase
Dim returnValue As String
returnValue = instance.GetOverriddenUserAgent(httpContext)
public override string GetOverriddenUserAgent(
HttpContextBase httpContext
)
public:
virtual String^ GetOverriddenUserAgent(
HttpContextBase^ httpContext
) override
abstract GetOverriddenUserAgent :
httpContext:HttpContextBase -> string
override GetOverriddenUserAgent :
httpContext:HttpContextBase -> string
public override function GetOverriddenUserAgent(
httpContext : HttpContextBase
) : String
Parameters
- httpContext
Type: System.Web.HttpContextBase
The HTTP context.
Return Value
Type: System.String
The user agent.