Breyta

Deila með


HttpClientHandler.UseCookies Property

Definition

Gets or sets a value that indicates whether the handler uses the CookieContainer property to store server cookies and uses these cookies when sending requests.

public:
 property bool UseCookies { bool get(); void set(bool value); };
public bool UseCookies { get; set; }
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public bool UseCookies { get; set; }
member this.UseCookies : bool with get, set
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.UseCookies : bool with get, set
Public Property UseCookies As Boolean

Property Value

true if the if the handler supports uses the CookieContainer property to store server cookies and uses these cookies when sending requests; otherwise false. The default value is true.

Attributes

Applies to