API Reference
Class
EmailStoreReader
Detects and reads supported mailbox-store artifacts without native or third-party parser dependencies.
Inheritance
- Object
- EmailStoreReader
Constructors
public EmailStoreReader(EmailStoreReaderOptions options = null) #Creates a reader with bounded defaults.
Parameters
- options OfficeIMO.Email.Store.EmailStoreReaderOptions = null
Methods
DetectFormat 2 overloads
public static EmailStoreFormat DetectFormat(String path) #Returns:
EmailStoreFormatDetects a store format from a bounded header.
Parameters
- path System.String
public static EmailStoreFormat DetectFormat(Stream stream, String sourceName = null) #Returns:
EmailStoreFormatDetects a store format without changing a seekable stream's position.
Parameters
- stream System.IO.Stream
- sourceName System.String = null
Read 2 overloads
public EmailStoreReadResult Read(String path, CancellationToken cancellationToken = null) #Returns:
EmailStoreReadResultReads a file while keeping random-access parsing off the large-object heap.
Parameters
- path System.String
- cancellationToken System.Threading.CancellationToken = null
public EmailStoreReadResult Read(Stream stream, String sourceName = null, CancellationToken cancellationToken = null) #Returns:
EmailStoreReadResultReads a seekable stream and leaves it open.
Parameters
- stream System.IO.Stream
- sourceName System.String = null
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object