CookieBrowserOverrideStore.SetOverriddenUserAgent 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 override void SetOverriddenUserAgent(System.Web.HttpContextBase httpContext, string userAgent);
override this.SetOverriddenUserAgent : System.Web.HttpContextBase * string -> unit
Public Overrides Sub SetOverriddenUserAgent (httpContext As HttpContextBase, userAgent As String)
Parameters
- httpContext
- HttpContextBase
The HTTP context.
- userAgent
- String
The user agent.