# EmailSemanticDifference

Describes one difference without exposing message values or content digests.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailSemanticDifference.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Semantics/EmailSemanticDifference.cs#L24)

**Modifiers**

sealed

Describes one difference without exposing message values or content digests.

## Inheritance

- object
- EmailSemanticDifference

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read Untrusted Email Safely and Verify Conversions](/docs/email/safety-and-verification/) Guide
  
  Set input limits for untrusted email, read structured diagnostics, compare two messages semantically, and handle signed or encrypted messages.

## Usage

Explore 3 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 3

- Property [EmailSemanticComparisonReport.Differences](/api/email/officeimo-email-emailsemanticcomparisonreport/#property-differences)
- Property [EmailStorePstMutationVerificationIssue.Differences](/api/email/officeimo-email-store-emailstorepstmutationverificationissue/#property-differences)
- Property [EmailStorePstVerificationIssue.Differences](/api/email/officeimo-email-store-emailstorepstverificationissue/#property-differences)

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

[EmailSemanticDifference.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Semantics/EmailSemanticDifference.cs#L24)

Stable canonical path of the differing semantic component.

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

[EmailSemanticDifference.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Semantics/EmailSemanticDifference.cs#L27)

Difference classification.

`public long? SourceLength { get; }` [#](#property-sourcelength)

[EmailSemanticDifference.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Semantics/EmailSemanticDifference.cs#L30)

Source byte or character length when the component supplies one.

`public long? DestinationLength { get; }` [#](#property-destinationlength)

[EmailSemanticDifference.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Semantics/EmailSemanticDifference.cs#L33)

Destination byte or character length when the component supplies one.

<!-- PowerForge markdown artifact sha256:5C39DB45889D156435E8417F150D319A5909E3F23CDB73D2A1598626C11FA84A -->
