Click or drag to resize
MimeKit

MimeParser Class

A MIME message and entity parser.
Inheritance Hierarchy
SystemObject
  MimeKitMimeParser

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.0.7.0
Syntax
C#
public class MimeParser : IEnumerable<MimeMessage>, 
	IEnumerable

The MimeParser type exposes the following members.

Constructors
  NameDescription
Public methodMimeParser(Stream, Boolean)
Initializes a new instance of the MimeParser class.
Public methodMimeParser(Stream, MimeFormat, Boolean)
Initializes a new instance of the MimeParser class.
Public methodMimeParser(ParserOptions, Stream, Boolean)
Initializes a new instance of the MimeParser class.
Public methodMimeParser(ParserOptions, Stream, MimeFormat, Boolean)
Initializes a new instance of the MimeParser class.
Top
Properties
  NameDescription
Public propertyIsEndOfStream
Gets a value indicating whether the parser has reached the end of the input stream.
Public propertyMboxMarker
Gets the most recent mbox marker.
Public propertyMboxMarkerOffset
Gets the most recent mbox marker offset.
Public propertyPosition
Gets the current position of the parser within the stream.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Enumerates the messages in the stream.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParseEntity
Parses an entity from the stream.
Public methodParseEntityAsync
Asynchronously parses an entity from the stream.
Public methodParseHeaders
Parses a list of headers from the stream.
Public methodParseHeadersAsync
Asynchronously parses a list of headers from the stream.
Public methodParseMessage
Parses a message from the stream.
Public methodParseMessageAsync
Asynchronously parses a message from the stream.
Public methodSetStream(Stream, Boolean)
Sets the stream to parse.
Public methodSetStream(Stream, MimeFormat, Boolean)
Sets the stream to parse.
Public methodSetStream(ParserOptions, Stream, Boolean)
Sets the stream to parse.
Public methodSetStream(ParserOptions, Stream, MimeFormat, Boolean)
Sets the stream to parse.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
A MIME parser is used to parse MimeMessage and MimeEntity objects from arbitrary streams.
See Also