Share via


HtmlDocument.Cookies Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the browser's cookie string.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

Syntax

'Declaration
Public Property Cookies As String
public string Cookies { get; set; }

Property Value

Type: System.String
The cookie string that is stored by the browser. If the browser does not have a cookie string, the property returns an empty string.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.