Secure Mime ContextMax Decompressed Size Property
Get or set the maximum decompressed CMS content size in bytes.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The maximum decompressed size in bytes.
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public long MaxDecompressedSize { get; set; }Property Value
Int64The maximum decompressed size in bytes.
Implements
ISecureMimeContextMaxDecompressedSizeRemarks
The default is 64 MiB. All decompression methods throw FormatException
if the expanded content exceeds this limit. The limit includes MIME headers.
Exceptions
| ArgumentOutOfRangeException | value is less than one. |