Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailSemanticComparisonOptions

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Immutable limits and policies for semantic fingerprinting and comparison.

Inheritance

  • object
  • EmailSemanticComparisonOptions

Usage

Explore 15 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.

Accepted by parameters 9

Constructors

public EmailSemanticComparisonOptions(EmailSemanticComparisonProfile profile = Migration, byte[]? digestKey = null, bool includeAttachmentContent = true, long maxAttachmentBytes = 8589934592, long maxTotalAttachmentBytes = 68719476736, int maxEmbeddedMessageDepth = 32, int maxDifferences = 10000, bool includeEmbeddedMessageContent = true) #

Creates a semantic comparison policy.

Parameters

profile OfficeIMO.Email.EmailSemanticComparisonProfile = Migration optional
Representation profile to compare.
digestKey byte[]? = null optional
Optional HMAC key. Supply a caller-owned random secret before persisting fingerprints of private content. The key is copied and is never exposed by the resulting fingerprint.
includeAttachmentContent bool = true optional
Whether decoded attachment content participates in comparison.
maxAttachmentBytes long = 8589934592 optional
Maximum decoded bytes hashed for one attachment.
maxTotalAttachmentBytes long = 68719476736 optional
Maximum decoded attachment bytes hashed across one root document.
maxEmbeddedMessageDepth int = 32 optional
Maximum embedded-message recursion depth.
maxDifferences int = 10000 optional
Maximum detailed differences retained by a comparison report.
includeEmbeddedMessageContent bool = true optional
Whether loaded embedded documents participate in comparison.

Properties

public static EmailSemanticComparisonOptions Default { get; } #

Default migration-verification policy.

public EmailSemanticComparisonProfile Profile { get; } #

Representation profile being compared.

public bool UsesKeyedDigest { get; } #

True when fingerprints use HMAC-SHA-256 rather than unkeyed SHA-256.

public bool IncludeAttachmentContent { get; } #

Whether decoded attachment content participates in comparison.

public bool IncludeEmbeddedMessageContent { get; } #

Whether loaded embedded documents participate in comparison.

public long MaxAttachmentBytes { get; } #

Maximum decoded bytes hashed for one attachment.

public long MaxTotalAttachmentBytes { get; } #

Maximum decoded attachment bytes hashed across one root document.

public int MaxEmbeddedMessageDepth { get; } #

Maximum embedded-message recursion depth.

public int MaxDifferences { get; } #

Maximum detailed differences retained by one comparison report.