# OfficeC2paAction

One action recorded in a C2PA actions assertion, such as c2pa.created or c2pa.edited.

Class 

`OfficeIMO.Provenance`

**Namespace**

`OfficeIMO.Provenance`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[OfficeC2paManifestSummary.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Core/Provenance/OfficeC2paManifestSummary.cs#L79)

**Modifiers**

sealed

One action recorded in a C2PA actions assertion, such as c2pa.created or c2pa.edited.

## Inheritance

- object
- OfficeC2paAction

## Usage

Explore 2 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 1

- Property [OfficeC2paManifestSummary.Actions](/api/core/officeimo-provenance-officec2pamanifestsummary/#property-actions)

### Accepted by parameters 1

- Constructor [OfficeC2paManifestSummary.OfficeC2paManifestSummary](/api/core/officeimo-provenance-officec2pamanifestsummary/#constructor-ctor-string-string-string-string-collections-generic-ireadonlylist-officeimo-provenance-officec2paaction-collections-generic-ireadonlylist-system-string-string-string-int32) parameter `actions`

Filter members 

Show inherited

## Constructors

`public OfficeC2paAction(string action, string? softwareAgent, string? digitalSourceType, string? when)` [#](#constructor-ctor-string-string-string-string)

[OfficeC2paManifestSummary.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Core/Provenance/OfficeC2paManifestSummary.cs#L79)

Creates an action record.

Parameters

**action string required**

**softwareAgent string? required**

**digitalSourceType string? required**

**when string? required**

## 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 string Action { get; }` [#](#property-action)

[OfficeC2paManifestSummary.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Core/Provenance/OfficeC2paManifestSummary.cs#L88)

Gets the action identifier, for example c2pa.created.

`public string? SoftwareAgent { get; }` [#](#property-softwareagent)

[OfficeC2paManifestSummary.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Core/Provenance/OfficeC2paManifestSummary.cs#L90)

Gets the software that performed the action, with its version when recorded.

`public string? DigitalSourceType { get; }` [#](#property-digitalsourcetype)

[OfficeC2paManifestSummary.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Core/Provenance/OfficeC2paManifestSummary.cs#L92)

Gets the IPTC digital source type URI, when recorded.

`public OfficeProvenanceDigitalSourceKind DigitalSourceKind { get; }` [#](#property-digitalsourcekind)

[OfficeC2paManifestSummary.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Core/Provenance/OfficeC2paManifestSummary.cs#L94)

Gets the classified digital source type.

`public string? When { get; }` [#](#property-when)

[OfficeC2paManifestSummary.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Core/Provenance/OfficeC2paManifestSummary.cs#L96)

Gets the recorded time of the action, when present.

<!-- PowerForge markdown artifact sha256:F1D08BA7CD1AD5E05A5828847CE65C5F0BBD7755B0B10B84AF277EF4D0ED15C6 -->
