BrowserOverrideStore.SetOverriddenUserAgent(HttpContextBase, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.