MimeReader(ParserOptions, Stream, MimeFormat) Constructor

Initialize a new instance of the MimeReader class.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public MimeReader(
	ParserOptions options,
	Stream stream,
	MimeFormat format = MimeFormat.Entity
)

Parameters

options  ParserOptions
The parser options.
stream  Stream
The stream to parse.
format  MimeFormat  (Optional)
The format of the stream.

Remarks

Creates a new MimeReader that will parse the specified stream.

Exceptions

ArgumentNullException

options is .

-or-

stream is .

See Also