# ReaderArchiveOptions

Controls nested archives and optional container kinds for archive ingestion.

Class 

`OfficeIMO.Reader.Archives`

**Namespace**

`OfficeIMO.Reader.Archives`

**Assembly**

`OfficeIMO.Reader.Archives`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ReaderArchiveOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Archives/ReaderArchiveOptions.cs#L11)

**Modifiers**

sealed

Controls nested archives and optional container kinds for archive ingestion.

## Inheritance

- object
- ReaderArchiveOptions

## 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

- Method [OfficeDocumentReaderBuilderArchiveExtensions.AddArchiveHandler](/api/reader-zip/officeimo-reader-archives-officedocumentreaderbuilderarchiveextensions/#method-addarchivehandler-officeimo-reader-officedocumentreaderbuilder-officeimo-archives-archivetraversaloptions-officeimo-reader-archives-readerarchiveoptions-boolean) parameter `readerArchiveOptions`

Filter members 

Show inherited

## Constructors

`public ReaderArchiveOptions()` [#](#constructor-ctor)

[ReaderArchiveOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Archives/ReaderArchiveOptions.cs#L11)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public bool ReadNestedArchives { get; set; }` [#](#property-readnestedarchives)

[ReaderArchiveOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Archives/ReaderArchiveOptions.cs#L11)

When true, archive members that are themselves archives (ZIP, 7z, CAB, TAR plain or compressed, single compressed files, and MSI when [ReaderArchiveOptions.ReadInstallerPackages](/api/reader-zip/officeimo-reader-archives-readerarchiveoptions/) is set) are read recursively.

`public int MaxNestedDepth { get; set; }` [#](#property-maxnesteddepth)

[ReaderArchiveOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Archives/ReaderArchiveOptions.cs#L16)

Maximum recursion depth for nested archives. 0 means top-level only.

`public long? MaxNestedArchiveBytes { get; set; }` [#](#property-maxnestedarchivebytes)

[ReaderArchiveOptions.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Archives/ReaderArchiveOptions.cs#L21)

Optional max byte size for materializing a nested archive.

`public bool ReadInstallerPackages { get; set; }` [#](#property-readinstallerpackages)

[ReaderArchiveOptions.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Reader.Archives/ReaderArchiveOptions.cs#L28)

When true, Windows Installer packages (.msi) are read through their embedded cabinets, at the top level and when nested. Off by default: installers are large and rarely hold documents, so other packages are reported with a warning instead.

<!-- PowerForge markdown artifact sha256:AA2779DC7B50CFA913BF8118387DE8F4F35C62D85C656CD0122576F2BDCABCD1 -->
