Property MaxUncompressedPartBytes
MaxUncompressedPartBytes
Gets or sets the maximum uncompressed size of any single package part in bytes (the zip-bomb guard), or null for unlimited.
On by default (DefaultMaxUncompressedPartBytes). A ZIP entry declares its uncompressed size in metadata the file itself supplies, so the size of the package says nothing about the size of what comes out of it.
public long? MaxUncompressedPartBytes { get; set; }
Property Value
- long?
Exceptions
- ArgumentOutOfRangeException
The value is not positive.