Skip to content

ZipOptionsBase Class ​

Definition ​

Base options for Zip operations

  • Namespace: JASE.Compression
  • Assembly: JASE.Compression.dll

Properties ​

NameDescription
MaxDirectoryCountMaximum number of Directories allowed in the archive.
MaxEntryCompressionRatioMaximum allowed compression ratio for any single entry.
MaxFileCountMaximum number of files allowed in the archive.
MaxNameLengthMaximum allowed length (in characters) for an entry name (typically FullName).
MaxNestedZipBytesLimit buffering nested zip files (the “zip inside zip” file itself)
MaxNestedZipCountMaximum allowed number of Zip file entries within a Zip file
MaxPathDepthMaximum allowed path depth for an entry, measured by counting directory separators in the entry name.
MaxRecursionDepthPrevent deep recursion DoS by specifying the max depth of contained zip files
MaxSingleFileBytesMaximum uncompressed bytes allowed to be written for a single extracted file.
MaxTotalBytesMaximum total uncompressed bytes allowed to be written across the entire extraction.
MaxTotalCompressionRatioMaximum allowed compression ratio for the archive as a whole.