# OfficeEmbeddedPayloadInspectionOptions

Bounds one inert embedded-payload inventory and its selected reads. Native document input and parser limits apply separately.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[OfficeEmbeddedPayloadInspectionOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeEmbeddedPayloadInspectionOptions.cs#L6)

**Modifiers**

sealed

Bounds one inert embedded-payload inventory and its selected reads. Native document input and parser limits apply separately.

## Inheritance

- object
- OfficeEmbeddedPayloadInspectionOptions

Filter members 

Show inherited

## Constructors

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

[OfficeEmbeddedPayloadInspectionOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeEmbeddedPayloadInspectionOptions.cs#L6)

## 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 int MaxPayloads { get; set; }` [#](#property-maxpayloads)

[OfficeEmbeddedPayloadInspectionOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeEmbeddedPayloadInspectionOptions.cs#L6)

Maximum payload descriptors admitted. Default: 512.

`public long MaxPayloadBytes { get; set; }` [#](#property-maxpayloadbytes)

[OfficeEmbeddedPayloadInspectionOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeEmbeddedPayloadInspectionOptions.cs#L8)

Maximum decoded bytes in one payload. Default: 32 MiB.

`public long MaxTotalPayloadBytes { get; set; }` [#](#property-maxtotalpayloadbytes)

[OfficeEmbeddedPayloadInspectionOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeEmbeddedPayloadInspectionOptions.cs#L10)

Maximum sum of known declared and subsequently observed lengths, counting each inventory descriptor once. Distinct owner relationships remain distinct descriptors. Default: 128 MiB.

`public long MaxReadBytes { get; set; }` [#](#property-maxreadbytes)

[OfficeEmbeddedPayloadInspectionOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeEmbeddedPayloadInspectionOptions.cs#L12)

Maximum actual decoded bytes consumed across hash scans and selected reads, including repeated reads. Default: 256 MiB.

`public bool IncludeSha256 { get; set; }` [#](#property-includesha256)

[OfficeEmbeddedPayloadInspectionOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Documents/OfficeEmbeddedPayloadInspectionOptions.cs#L14)

Whether to scan every payload for SHA-256 during inventory. Default: false; unknown lengths remain explicit without an unrequested scan.

<!-- PowerForge markdown artifact sha256:4C6E01F111E1C16976BD220FC2275EF7A4AEFF0F1FA24CC768F027A86BC91ACA -->
