Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeEmbeddedPayloadInspection

Namespace OfficeIMO
Assembly OfficeIMO.Core
Source revision a0f47aa4f111 with working tree changes
Implements
IDisposable
Modifiers sealed

One bounded inert payload inventory and cumulative read operation.

Inheritance

  • Object
  • OfficeEmbeddedPayloadInspection

Remarks

Keep the native document alive while requesting new reads. Each returned read-only stream is a complete detached copy owned by the caller and survives disposal of the native document and this session. Payloads are never executed and external targets are never resolved.

Methods

public Void Dispose() #
Returns: Void

Ends new-read access. Already-returned detached streams remain usable.

public Stream OpenRead(Int32 ordinal, CancellationToken cancellationToken = default) #
Returns: Stream

Reads one complete payload within the snapshotted member and cumulative operation ceilings.

Parameters

ordinal System.Int32 requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1

Exceptions

Properties

public IReadOnlyList<OfficeEmbeddedPayloadInfo> Payloads { get; } #

Ordered native descriptors. Ordinals address this session only; identities remain native owner/relationship or source-profile identities.

public Int64 ReadBytes { get; } #

Actual decoded bytes consumed by completed or failed reads and requested hashes.