Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeProvenanceInspector

OfficeIMO.Provenance

Namespace
OfficeIMO.Provenance
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Inspects standards-defined provenance carriers without performing cryptographic validation.

Inheritance

  • object
  • OfficeProvenanceInspector

Methods

Inspect 2 overloads
public static OfficeProvenanceReport Inspect(Stream stream, string? fileName = null, OfficeProvenanceOptions? options = null) #

Inspects a bounded asset stream and restores its original position when seekable.

Parameters

stream System.IO.Stream required
fileName string? = null optional
options OfficeIMO.Provenance.OfficeProvenanceOptions? = null optional
public static OfficeProvenanceReport Inspect(byte[] data, string? fileName = null, OfficeProvenanceOptions? options = null) #

Inspects bounded encoded asset bytes.

Parameters

data byte[] required
fileName string? = null optional
options OfficeIMO.Provenance.OfficeProvenanceOptions? = null optional
public static OfficeProvenanceReport InspectFile(string filePath, OfficeProvenanceOptions? options = null) #

Inspects an asset file using bounded structural parsers.

Parameters

filePath string required
options OfficeIMO.Provenance.OfficeProvenanceOptions? = null optional
public static OfficeProvenanceReport InspectXmp(byte[] packet, OfficeProvenanceOptions? options = null) #

Inspects an independent XMP packet for standardized IPTC Digital Source Type declarations.

Parameters

packet byte[] required
Encoded XMP XML extracted from a container or a sidecar.
options OfficeIMO.Provenance.OfficeProvenanceOptions? = null optional
Byte, carrier, and XML node limits. Default limits apply when omitted.

Returns

OfficeProvenanceReport A report whose format is unknown because the packet does not identify an asset container.