Leggi in inglese Modifica

Condividi tramite


CookieUsePolicy Enum

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.

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

C#
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

Prodotto Versioni
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)