# PdfAttachmentValidation

Post-save validation for one edited attachment.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfAttachmentEditResult.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAttachmentEditResult.cs#L7)

**Modifiers**

sealed

Post-save validation for one edited attachment.

## Inheritance

- object
- PdfAttachmentValidation

## 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 [PdfAttachmentEditResult.Validations](/api/pdf/officeimo-pdf-pdfattachmenteditresult/#property-validations)

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

[PdfAttachmentEditResult.cs:7](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAttachmentEditResult.cs#L7)

Attachment file name.

`public string Checksum { get; }` [#](#property-checksum)

[PdfAttachmentEditResult.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAttachmentEditResult.cs#L9)

Lower-case MD5 checksum stored by the PDF embedded-file contract.

`public bool PayloadMatches { get; }` [#](#property-payloadmatches)

[PdfAttachmentEditResult.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAttachmentEditResult.cs#L11)

True when decoded readback bytes match the requested payload.

`public bool MetadataMatches { get; }` [#](#property-metadatamatches)

[PdfAttachmentEditResult.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAttachmentEditResult.cs#L13)

True when MIME type, description, and associated-file relationship match.

`public bool IsValid { get; }` [#](#property-isvalid)

[PdfAttachmentEditResult.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAttachmentEditResult.cs#L15)

True when payload and metadata readback both match.

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