CookieBrowserOverrideStore Class
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.Gets overridden user agent for a request from a cookie. Creates a cookie to set the overridden user agent.
public class CookieBrowserOverrideStore : System.Web.WebPages.BrowserOverrideStore
type CookieBrowserOverrideStore = class
inherit BrowserOverrideStore
Public Class CookieBrowserOverrideStore
Inherits BrowserOverrideStore
- Inheritance
Constructors
CookieBrowserOverrideStore() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the CookieBrowserOverrideStore class. |
CookieBrowserOverrideStore(Int32) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the CookieBrowserOverrideStore class. |
Methods
GetOverriddenUserAgent(HttpContextBase) |
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. |
SetOverriddenUserAgent(HttpContextBase, String) |
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. |