BrowserOverrideStore.SetOverriddenUserAgent(HttpContextBase, String) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a browser override cookie with the set user agent to the response of the current request.

public abstract void SetOverriddenUserAgent (System.Web.HttpContextBase httpContext, string userAgent);
abstract member SetOverriddenUserAgent : System.Web.HttpContextBase * string -> unit
Public MustOverride Sub SetOverriddenUserAgent (httpContext As HttpContextBase, userAgent As String)

Parameters

httpContext
HttpContextBase

The HTTP context.

userAgent
String

The user agent.

Applies to