# OfficeEmbeddedPayloadInfo

Describes a native embedded payload and its part, relationship, or source-profile identity.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficePackagePayload.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L41)

**Modifiers**

sealed

Describes a native embedded payload and its part, relationship, or source-profile identity.

## Inheritance

- object
- OfficeEmbeddedPayloadInfo

## Usage

Explore 1 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 [OfficeEmbeddedPayloadInspection.Payloads](/api/core/officeimo-officeembeddedpayloadinspection/#property-payloads)

Filter members 

Show inherited

## 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 Id { get; }` [#](#property-id)

[OfficePackagePayload.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L41)

Stable native payload identity. Open XML uses owner part URI and relationship id; other owners define their source-profile identity.

`public OfficeEmbeddedPayloadKind Kind { get; }` [#](#property-kind)

[OfficePackagePayload.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L44)

Payload classification.

`public string OwnerPartUri { get; }` [#](#property-ownerparturi)

[OfficePackagePayload.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L47)

Native owner part or source-profile locator. It is not a filesystem path or physical byte offset.

`public string RelationshipId { get; }` [#](#property-relationshipid)

[OfficePackagePayload.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L50)

Relationship id used by the owner part, or empty when the source profile has no relationship model.

`public string PartUri { get; }` [#](#property-parturi)

[OfficePackagePayload.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L53)

Native payload part or source-profile locator. It is not a physical file offset.

`public string ContentType { get; }` [#](#property-contenttype)

[OfficePackagePayload.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L56)

Declared MIME content type.

`public string SuggestedFileName { get; }` [#](#property-suggestedfilename)

[OfficePackagePayload.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L59)

Best-effort file name inferred from the package part URI.

`public long Length { get; }` [#](#property-length)

[OfficePackagePayload.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L62)

Decoded payload length in bytes, or -1 when the native owner has no size metadata without reading the payload.

`public bool HasKnownLength { get; }` [#](#property-hasknownlength)

[OfficePackagePayload.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L65)

Whether [OfficeEmbeddedPayloadInfo.Length](/api/core/officeimo-officeembeddedpayloadinfo/) is known from metadata or a requested bounded read.

`public int Ordinal { get; }` [#](#property-ordinal)

[OfficePackagePayload.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L68)

Zero-based inventory ordinal in an inspection session, or -1 for a standalone compatibility descriptor.

`public string? Sha256 { get; }` [#](#property-sha256)

[OfficePackagePayload.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficePackagePayload.cs#L71)

Lowercase SHA-256 digest when hash calculation was requested; otherwise null.

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