CookieContainer.MaxCookieSize 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.
Represents the maximum allowed length of a Cookie.
public:
property int MaxCookieSize { int get(); void set(int value); };
public:
property int MaxCookieSize { int get(); };
public int MaxCookieSize { get; set; }
public int MaxCookieSize { get; }
member this.MaxCookieSize : int with get, set
member this.MaxCookieSize : int
Public Property MaxCookieSize As Integer
Public ReadOnly Property MaxCookieSize As Integer
Property Value
The maximum allowed length, in bytes, of a Cookie.
Exceptions
MaxCookieSize
is less than or equal to zero.
Remarks
If the new value of MaxCookieSize is less than the current value, any Cookie with a length that exceeds the new value will be truncated.
Applies to
See also
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.