# ThunderbirdSummaryReader

Reads Thunderbird summary (.msf) files, the Mork databases Thunderbird keeps next to each mbox folder.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[ThunderbirdSummaryReader.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Email/Store/Thunderbird/ThunderbirdSummaryReader.cs#L14)

**Modifiers**

static

Reads Thunderbird summary (.msf) files, the Mork databases Thunderbird keeps next to each mbox folder. The reader is read-only and bounded by [ThunderbirdSummaryReaderOptions](/api/email/officeimo-email-store-thunderbirdsummaryreaderoptions/); malformed data raises [ThunderbirdSummaryFormatException](/api/email/officeimo-email-store-thunderbirdsummaryformatexception/) with the byte offset and line.

## Inheritance

- object
- ThunderbirdSummaryReader

Filter members 

Show inherited

## Methods

Read 2 overloads

`public static ThunderbirdSummary Read(string path, ThunderbirdSummaryReaderOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-read-string-officeimo-email-store-thunderbirdsummaryreaderoptions-threading-cancellationtoken)

[ThunderbirdSummaryReader.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Email/Store/Thunderbird/ThunderbirdSummaryReader.cs#L14)

Reads a summary file.

Parameters

**path string required**

**options OfficeIMO.Email.Store.ThunderbirdSummaryReaderOptions? = null optional**

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

Returns

`ThunderbirdSummary`

`public static ThunderbirdSummary Read(Stream stream, ThunderbirdSummaryReaderOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-read-io-stream-officeimo-email-store-thunderbirdsummaryreaderoptions-threading-cancellationtoken)

[ThunderbirdSummaryReader.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Email/Store/Thunderbird/ThunderbirdSummaryReader.cs#L22)

Reads a summary from a stream. The stream is read to its end and not disposed.

Parameters

**stream System.IO.Stream required**

**options OfficeIMO.Email.Store.ThunderbirdSummaryReaderOptions? = null optional**

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

Returns

`ThunderbirdSummary`

## 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:3DD7C5AD4547FB722367196103F4CB16B6FA1E6F1A1CD9EC332B1822B2C6850D -->
