Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeEmbeddedPayloadInspection

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
b64f287c0e54 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() #

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

public Stream OpenRead(int ordinal, CancellationToken cancellationToken = default) #

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

Parameters

ordinal int required
cancellationToken System.Threading.CancellationToken = default optional

Returns

Stream

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

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