HttpClientHandler.UseCookies Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.