API Reference

Class

EmailSemanticComparisonOptions

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Modifiers sealed

Immutable limits and policies for semantic fingerprinting and comparison.

Inheritance

  • Object
  • EmailSemanticComparisonOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public EmailSemanticComparisonOptions(EmailSemanticComparisonProfile profile = Migration, Byte[] digestKey = null, Boolean includeAttachmentContent = true, Int64 maxAttachmentBytes = 8589934592, Int64 maxTotalAttachmentBytes = 68719476736, Int32 maxEmbeddedMessageDepth = 32, Int32 maxDifferences = 10000) #

Creates a semantic comparison policy.

Parameters

profile OfficeIMO.Email.EmailSemanticComparisonProfile = Migration optionalposition: 0
Representation profile to compare.
digestKey System.Byte[] = null optionalposition: 1
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 System.Boolean = true optionalposition: 2
Whether decoded attachment content participates in comparison.
maxAttachmentBytes System.Int64 = 8589934592 optionalposition: 3
Maximum decoded bytes hashed for one attachment.
maxTotalAttachmentBytes System.Int64 = 68719476736 optionalposition: 4
Maximum decoded attachment bytes hashed across one root document.
maxEmbeddedMessageDepth System.Int32 = 32 optionalposition: 5
Maximum embedded-message recursion depth.
maxDifferences System.Int32 = 10000 optionalposition: 6
Maximum detailed differences retained by a comparison report.

Properties

public static EmailSemanticComparisonOptions Default { get; } #

Default migration-verification policy.

public EmailSemanticComparisonProfile Profile { get; } #

Representation profile being compared.

public Boolean UsesKeyedDigest { get; } #

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

public Boolean IncludeAttachmentContent { get; } #

Whether decoded attachment content participates in comparison.

public Int64 MaxAttachmentBytes { get; } #

Maximum decoded bytes hashed for one attachment.

public Int64 MaxTotalAttachmentBytes { get; } #

Maximum decoded attachment bytes hashed across one root document.

public Int32 MaxEmbeddedMessageDepth { get; } #

Maximum embedded-message recursion depth.

public Int32 MaxDifferences { get; } #

Maximum detailed differences retained by one comparison report.