Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Cookies Property
Collapse the table of content
Expand the table of content

HttpBrowserCapabilitiesBase.Cookies Property

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.
NoteNote

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

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft