Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ArchiveInspectionOptions

OfficeIMO.Archives

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

Finite limits for one passive archive inspection and all member reads from its snapshot.

Inheritance

  • object
  • ArchiveInspectionOptions

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 ArchiveInspectionOptions() #

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 long MaxInputBytes { get; set; } #

Maximum input snapshot size. Defaults to 512 MiB. ZIP snapshots spill above 64 MiB; CAB/MSI arrays also require an Int32 length.

public int MaxEntryCount { get; set; } #

Maximum ZIP/CAB file records or MSI File rows, including unsupported and empty members.

public int MaxCabinetCount { get; set; } #

Maximum distinct embedded cabinets, including cabinets without mapped files.

public long MaxEntryBytes { get; set; } #

Maximum declared size of a file member or bytes returned by one storage-stream read.

public long MaxTemporaryBytes { get; set; } #

Maximum decoded bytes staged privately by one CopyTo operation, across ZIP, CAB and MSI. Defaults to 256 MiB; zero permits only empty members. Checked before creating a spool or charging reads. Excludes input snapshots and filesystem extraction. This is a disk bound, not a process-memory bound.

public long MaxExpandedBytes { get; set; } #

Maximum declared aggregate CAB folder/file expansion at inventory time, and cumulative decoded folder or raw storage-stream bytes across subsequent reads. A grouped read charges each selected folder once; reading it in another call consumes this budget again.

public long MaxDecompressionWorkBytes { get; set; } #

Maximum cumulative CAB frame-processing work. Defaults to 2 GiB and uses the same frame charges as extraction.

public long MaxMetadataBytes { get; set; } #

Maximum MSI metadata bytes read while building the inventory.

public int MaxTableRows { get; set; } #

Maximum rows per MSI metadata table.

public int MaxStringPoolEntries { get; set; } #

Maximum entries in the MSI string pool, excluding the null reference.

public int MaxDirectoryRecords { get; set; } #

Maximum CAB folder, file and CFDATA records visited while building the inventory, summed across all cabinets. Also bounds the MSI compound directory slots. Defaults to 1,000,000.

public int MaxPathDepth { get; set; } #

Maximum structural depth of authored MSI directories.

public int MaxPathLength { get; set; } #

Maximum characters in an assembled authored MSI target path.