Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ArchiveExtractionOptions

OfficeIMO.Archives

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

Finite resource and selection limits for one archive extraction.

Inheritance

  • object
  • ArchiveExtractionOptions

Usage

Explore 1 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 1

Constructors

public ArchiveExtractionOptions() #

Properties

public ArchiveOperationBudget? OperationBudget { get; set; } #

Optional cumulative budget shared with related and nested archive operations.

public int? ZipLegacyCodePage { get; set; } #

Explicit code page for unflagged non-ASCII ZIP names. Null retains strict ASCII/UTF-8 admission; the UTF-8 flag always takes precedence. No host-locale inference occurs.

public IReadOnlyCollection<ArchiveFormat>? AllowedFormats { get; set; } #

Allowed formats detected from package bytes. Null permits every supported format. A disallowed format raises NotSupportedException before staging or payload parsing.

public long MaxInputBytes { get; set; } #

Maximum package size in bytes. Defaults to 512 MiB.

public int MaxEntryCount { get; set; } #

Maximum number of declared archive members or MSI File rows.

public int MaxCabinetCount { get; set; } #

Maximum distinct embedded MSI cabinets. Defaults to 256, including cabinets with empty or unselected files.

public long MaxEntryBytes { get; set; } #

Maximum expanded size of any member. Defaults to 256 MiB.

public long MaxExpandedBytes { get; set; } #

Maximum aggregate expanded bytes. CAB folder decoding also observes this bound.

public long MaxDecompressionWorkBytes { get; set; } #

Maximum aggregate CAB decompression work bytes across all folders and embedded MSI cabinets. Defaults to 2 GiB, independently of expanded content. Each frame charges the greatest of 32 KiB, its complete CFDATA record size, and its expanded size plus any MSZIP dictionary replay. This bounds processing work rather than measuring exact CPU time.

public long MaxMetadataBytes { get; set; } #

Maximum aggregate MSI metadata stream bytes. Defaults to 64 MiB.

public int MaxTableRows { get; set; } #

Maximum rows per MSI metadata table.

public int MaxStringPoolEntries { get; set; } #

Maximum MSI string-pool entries, excluding the null reference. Defaults to 200,000, independently of table rows.

public int MaxPathDepth { get; set; } #

Maximum output-path segments and structural MSI directory depth, including the root and '.' directories.

public int MaxPathLength { get; set; } #

Maximum characters in an authored relative output path.

public Func<string, bool>? IncludeFile { get; set; } #

Optional file selection predicate receiving a normalized authored relative path. MSI aliases invoke it once with their deterministic logical target. All member names remain subject to safety, collision and payload-consistency checks.