# OfficeProvenanceReport

Structural provenance inspection of one asset.

Class 

`OfficeIMO.Provenance`

**Namespace**

`OfficeIMO.Provenance`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeProvenanceContracts.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L110)

**Modifiers**

sealed

Structural provenance inspection of one asset.

## Inheritance

- object
- OfficeProvenanceReport

## Usage

Explore 18 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 10

- Property [OfficeProvenanceAssessmentReport.Structural](/api/core/officeimo-provenance-officeprovenanceassessmentreport/#property-structural)
- Method [OfficeProvenanceInspector.Inspect](/api/core/officeimo-provenance-officeprovenanceinspector/#method-inspect-io-stream-string-officeimo-provenance-officeprovenanceoptions)
- Method [OfficeProvenanceInspector.InspectFile](/api/core/officeimo-provenance-officeprovenanceinspector/#method-inspectfile-string-officeimo-provenance-officeprovenanceoptions)
- Method [OfficeProvenanceInspector.InspectXmp](/api/core/officeimo-provenance-officeprovenanceinspector/#method-inspectxmp-byte-officeimo-provenance-officeprovenanceoptions)
- Property [OfficeProvenanceRemovalResult.After](/api/core/officeimo-provenance-officeprovenanceremovalresult/#property-after)
- Property [OfficeProvenanceRemovalResult.Before](/api/core/officeimo-provenance-officeprovenanceremovalresult/#property-before)
- Property [OfficeProvenanceSigningResult.StructuralReport](/api/core/officeimo-provenance-officeprovenancesigningresult/#property-structuralreport)
- Property [OfficeProvenanceTransformationResult.Candidate](/api/core/officeimo-provenance-officeprovenancetransformationresult/#property-candidate)
- Property [OfficeProvenanceTransformationResult.Output](/api/core/officeimo-provenance-officeprovenancetransformationresult/#property-output)
- Property [OfficeProvenanceTransformationResult.Source](/api/core/officeimo-provenance-officeprovenancetransformationresult/#property-source)

### Accepted by parameters 8

- Method [OfficeProvenanceAssessment.AssessFile](/api/core/officeimo-provenance-officeprovenanceassessment/#method-assessfile-string-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenanceassessmentoptions-officeimo-provenance-iofficeprovenanceverifier-collections-generic-ienumerable-officeimo-provenance-iofficeprovenancesignaldetector-threading-cancellationtoken) parameter `structural`
- Constructor [OfficeProvenanceAssessmentReport.OfficeProvenanceAssessmentReport](/api/core/officeimo-provenance-officeprovenanceassessmentreport/#constructor-ctor-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenanceverificationresult-officeimo-provenance-officetextintegrityreport-collections-generic-ireadonlylist-officeimo-provenance-officeprovenancesignalresult-nullable-officeimo-provenance-officeprovenancecheckstatus) parameter `structural`
- Constructor [OfficeProvenanceRemovalResult.OfficeProvenanceRemovalResult](/api/core/officeimo-provenance-officeprovenanceremovalresult/#constructor-ctor-byte-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-collections-generic-ireadonlylist-officeimo-provenance-officeprovenancechange-boolean) parameter `after`
- Constructor [OfficeProvenanceRemovalResult.OfficeProvenanceRemovalResult](/api/core/officeimo-provenance-officeprovenanceremovalresult/#constructor-ctor-byte-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-collections-generic-ireadonlylist-officeimo-provenance-officeprovenancechange-boolean) parameter `before`
- Constructor [OfficeProvenanceSigningResult.OfficeProvenanceSigningResult](/api/core/officeimo-provenance-officeprovenancesigningresult/#constructor-ctor-officeimo-provenance-officeprovenancesigningstatus-string-collections-generic-ireadonlylist-system-string-string-officeimo-provenance-officeprovenancereport-string) parameter `structuralReport`
- Constructor [OfficeProvenanceTransformationResult.OfficeProvenanceTransformationResult](/api/core/officeimo-provenance-officeprovenancetransformationresult/#constructor-ctor-officeimo-provenance-officeprovenancetransformationpolicy-boolean-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenanceremovalresult-officeimo-provenance-officeprovenancesigningresult) parameter `candidate`
- Constructor [OfficeProvenanceTransformationResult.OfficeProvenanceTransformationResult](/api/core/officeimo-provenance-officeprovenancetransformationresult/#constructor-ctor-officeimo-provenance-officeprovenancetransformationpolicy-boolean-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenanceremovalresult-officeimo-provenance-officeprovenancesigningresult) parameter `output`
- Constructor [OfficeProvenanceTransformationResult.OfficeProvenanceTransformationResult](/api/core/officeimo-provenance-officeprovenancetransformationresult/#constructor-ctor-officeimo-provenance-officeprovenancetransformationpolicy-boolean-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenancereport-officeimo-provenance-officeprovenanceremovalresult-officeimo-provenance-officeprovenancesigningresult) parameter `source`

Filter members 

Show inherited

## Constructors

`public OfficeProvenanceReport(OfficeProvenanceAssetFormat format, IReadOnlyList<OfficeProvenanceEvidence> evidence, IReadOnlyList<string>? diagnostics = null)` [#](#constructor-ctor-officeimo-provenance-officeprovenanceassetformat-collections-generic-ireadonlylist-officeimo-provenance-officeprovenanceevidence-collections-generic-ireadonlylist-system-string)

[OfficeProvenanceContracts.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L110)

Creates an inspection report.

Parameters

**format OfficeIMO.Provenance.OfficeProvenanceAssetFormat required**

**evidence System.Collections.Generic.IReadOnlyList<OfficeIMO.Provenance.OfficeProvenanceEvidence> required**

**diagnostics System.Collections.Generic.IReadOnlyList<string>? = null optional**

## 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 OfficeProvenanceAssetFormat Format { get; }` [#](#property-format)

[OfficeProvenanceContracts.cs:133](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L133)

Gets the identified asset format.

`public IReadOnlyList<OfficeProvenanceEvidence> Evidence { get; }` [#](#property-evidence)

[OfficeProvenanceContracts.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L135)

Gets discovered provenance evidence in source order.

`public IReadOnlyList<string> Diagnostics { get; }` [#](#property-diagnostics)

[OfficeProvenanceContracts.cs:137](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L137)

Gets structural diagnostics that did not prevent inspection.

`public bool HasC2paManifest { get; }` [#](#property-hasc2pamanifest)

[OfficeProvenanceContracts.cs:146](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L146)

Gets whether an embedded C2PA carrier was discovered.

`public bool HasExternalC2paManifest { get; }` [#](#property-hasexternalc2pamanifest)

[OfficeProvenanceContracts.cs:155](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L155)

Gets whether an external C2PA reference was discovered.

`public bool HasGenerativeAiDeclaration { get; }` [#](#property-hasgenerativeaideclaration)

[OfficeProvenanceContracts.cs:164](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeProvenanceContracts.cs#L164)

Gets whether a trained-algorithmic source declaration was discovered.

<!-- PowerForge markdown artifact sha256:6BEEE52685C725E3E4C00B83FD9965B0425AD8787F7F2812DE06B3A76DA92372 -->
