API Reference
Class
OfficeProvenanceInspector
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) #Returns:
OfficeProvenanceReportInspects a bounded asset stream and restores its original position when seekable.
Parameters
- stream System.IO.Stream
- fileName System.String? = null
- options OfficeIMO.Provenance.OfficeProvenanceOptions? = null
public static OfficeProvenanceReport Inspect(Byte[] data, String? fileName = null, OfficeProvenanceOptions? options = null) #Returns:
OfficeProvenanceReportInspects bounded encoded asset bytes.
Parameters
- data System.Byte[]
- fileName System.String? = null
- options OfficeIMO.Provenance.OfficeProvenanceOptions? = null
public static OfficeProvenanceReport InspectFile(String filePath, OfficeProvenanceOptions? options = null) #Returns:
OfficeProvenanceReportInspects an asset file using bounded structural parsers.
Parameters
- filePath System.String
- options OfficeIMO.Provenance.OfficeProvenanceOptions? = null
public static OfficeProvenanceReport InspectXmp(Byte[] packet, OfficeProvenanceOptions? options = null) #Returns:
OfficeProvenanceReportInspects an independent XMP packet for standardized IPTC Digital Source Type declarations.
Parameters
- packet System.Byte[]
- Encoded XMP XML extracted from a container or a sidecar.
- options OfficeIMO.Provenance.OfficeProvenanceOptions? = null
- Byte, carrier, and XML node limits. Default limits apply when omitted.
Returns
A report whose format is unknown because the packet does not identify an asset container.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?