# EmailDataInspector

Inspects local email-data through its canonical owners without network, certificate discovery or mutation.

Class 

`OfficeIMO.Email.Data`

**Namespace**

`OfficeIMO.Email.Data`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EmailDataInspector.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspector.cs#L8)

**Modifiers**

static

Inspects local email-data through its canonical owners without network, certificate discovery or mutation.

## Inheritance

- object
- EmailDataInspector

Filter members 

Show inherited

## Methods

Inspect 2 overloads

`public static EmailDataInspectionReport Inspect(string path, EmailDataInspectionOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-inspect-string-officeimo-email-data-emaildatainspectionoptions-threading-cancellationtoken)

[EmailDataInspector.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspector.cs#L8)

Opens an artifact under the supplied read policy, snapshots bounded metadata and closes owned resources.

Parameters

**path string required**

**options OfficeIMO.Email.Data.EmailDataInspectionOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`EmailDataInspectionReport`

`public static EmailDataInspectionReport Inspect(EmailDataOpenResult opened, EmailDataInspectionOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-inspect-officeimo-email-data-emaildataopenresult-officeimo-email-data-emaildatainspectionoptions-threading-cancellationtoken)

[EmailDataInspector.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Data/EmailDataInspector.cs#L16)

Snapshots an already opened artifact without disposing it or replacing its owner-level read policy.

Parameters

**opened OfficeIMO.Email.Data.EmailDataOpenResult required**

**options OfficeIMO.Email.Data.EmailDataInspectionOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`EmailDataInspectionReport`

## 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?`

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