YEncOptionsMaxDecodedSize Property

Get or set the maximum decoded size of an individual block.

Definition

Namespace: MimeKit.Encodings
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public long MaxDecodedSize { get; set; }

Property Value

Int64
The maximum decoded size in bytes.

Remarks

For multipart files this limits each part, not the total file size. The default is 1 GB.

Exceptions

ArgumentOutOfRangeException The value is less than zero.

See Also