System.Net.HttpWebResponse.Cookies Property

Gets or sets the cookies that are associated with this response.

Syntax

public virtual CookieCollection Cookies { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The HttpWebResponse.Cookies property provides an instance of the System.Net.CookieCollection class that holds the cookies associated with this response.

If the HttpWebRequest.CookieContainer property of the associated System.Net.HttpWebRequest is null, the HttpWebResponse.Cookies property will also be null. Any cookie information sent by the server will be available in the HttpWebResponse.Headers property, however.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0