Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ArchiveTraversalOptions

Namespace OfficeIMO.Archives
Assembly OfficeIMO.Archives
Source revision a0f47aa4f111 with working tree changes
Modifiers sealed

Controls safe ZIP traversal behavior.

Inheritance

  • Object
  • ArchiveTraversalOptions

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 3

Constructors

public ArchiveTraversalOptions() #

Properties

public Int32 MaxEntries { get; set; } #

Maximum number of entries to emit.

public Int32 MaxPhysicalEntries { get; set; } #

Maximum number of physical ZIP entries, including rejected files and directories, before archive metadata is materialized. Defaults to 10,000. This is independent of ArchiveTraversalOptions.MaxEntries.

public Int64 MaxArchiveBytes { get; set; } #

Maximum compressed archive bytes inspected. Defaults to 512 MiB.

public Int32 MaxWarnings { get; set; } #

Maximum warning records retained. The final record becomes an overflow summary when needed. Defaults to 256.

public Int32 MaxDepth { get; set; } #

Maximum path depth for entries.

public Int64? MaxTotalUncompressedBytes { get; set; } #

Maximum total uncompressed bytes across emitted entries.

public Int64? MaxEntryUncompressedBytes { get; set; } #

Optional maximum uncompressed size for a single file entry.

public Double? MaxCompressionRatio { get; set; } #

Optional maximum uncompressed/compressed ratio for a single file entry. Helps reject high-expansion entries from suspicious archives.

public Boolean IncludeDirectoryEntries { get; set; } #

When true, includes directory entries.

public Boolean DeterministicOrder { get; set; } #

When true, entry order is deterministic (ordinal by FullName).