ArchiveReadOptions
OfficeIMO.Archives
Finite limits for verified, in-memory ZIP member reads.
Inheritance
- object
- ArchiveReadOptions
Usage
Explore 4 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 4
- Method ArchiveReader.ListTar
- Method ArchiveReader.ReadTar
- Method ArchiveReader.ReadZip
- Method GZipArchive.Decompress
Constructors
public ArchiveReadOptions() #Inherited Methods
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 compressed input bytes, including unselected members. Defaults to 64 MiB. Stream snapshots are also bounded by Int32.MaxValue.
public int MaxEntryCount { get; set; } #Maximum physical members, including directories and unselected files.
public long MaxEntryBytes { get; set; } #Maximum declared size of any member, selected or not. Defaults to 16 MiB. Selected in-memory members are also bounded by Int32.MaxValue.
public long MaxExpandedBytes { get; set; } #Maximum aggregate selected content retained in the result. Defaults to 64 MiB.
public int MaxPathLength { get; set; } #Maximum characters in an authored relative member path.
public Func<string, bool>? IncludeFile { get; set; } #Optional selector receiving each normalized relative file path once. All members still undergo metadata, path and collision validation.