CookieUsePolicy Enum

Definition

This enumeration allows control of HTTP cookies when communicating with the server.

public enum CookieUsePolicy
Inheritance
CookieUsePolicy

Fields

Name Value Description
IgnoreCookies 0

This value indicates that no cookies are sent to the server by the client.

UseInternalCookieStoreOnly 1

This value indicates that cookies are handled internally which optimizes performance. Accessing, adding and deleting cookies is not allowed when this value is used.

UseSpecifiedCookieContainer 2

This value indicates that cookies are managed manually using a CookieContainer type.

Applies to

Producto Versiones
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)