IMime Parser Interface
An interface for parsing messages, entities, and/or headers.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public interface IMimeParserRemarks
An interface for parsing messages, entities, and/or headers. Implemented by MimeParser and
LegacyMimeParser.
Properties
| IsEndOfStream | Get a value indicating whether the parser has reached the end of the input stream. |
| MboxMarker | Get the mbox marker for the most recently parsed message. |
| MboxMarkerOffset | Get the mbox marker stream offset for the most recently parsed message. |
| Options | Get or set the parser options. |
| Position | Get the current position of the parser within the stream. |
Methods
| ParseEntity | Parse an entity from the stream. |
| ParseEntityAsync | Asynchronously parse an entity from the stream. |
| ParseHeaders | Parse a list of headers from the stream. |
| ParseHeadersAsync | Asynchronously parse a list of headers from the stream. |
| ParseMessage | Parse a message from the stream. |
| ParseMessageAsync | Asynchronously parse a message from the stream. |
| SetStream(Stream, MimeContentStorage) | Set the stream to parse. |
| SetStream(Stream, MimeFormat) | Set the stream to parse. |
| SetStream(Stream, MimeFormat, MimeContentStorage) | Set the stream to parse. |