Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ArchiveExtractionOptions

Namespace OfficeIMO.Archives
Assembly OfficeIMO.Archives
Source revision a0f47aa4f111 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 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 Int64 MaxInputBytes { get; set; } #

Maximum package size in bytes. Defaults to 512 MiB.

public Int32 MaxEntryCount { get; set; } #

Maximum number of declared archive members or MSI File rows.

public Int32 MaxCabinetCount { get; set; } #

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

public Int64 MaxEntryBytes { get; set; } #

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

public Int64 MaxExpandedBytes { get; set; } #

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

public Int64 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 Int64 MaxMetadataBytes { get; set; } #

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

public Int32 MaxTableRows { get; set; } #

Maximum rows per MSI metadata table.

public Int32 MaxStringPoolEntries { get; set; } #

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

public Int32 MaxPathDepth { get; set; } #

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

public Int32 MaxPathLength { get; set; } #

Maximum characters in an authored relative output path.

public Func<String, Boolean>? 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.