HttpBrowserCapabilitiesBase.Cookies Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, gets a value that indicates whether the browser is capable of supporting cookies.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual bool Cookies { get; }

Property Value

Type: System.Boolean

true if the browser can support cookies; otherwise, false.

System_CAPS_noteNote

This property does not indicate whether cookies are currently enabled in the browser, only whether the browser can support cookies.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: