IMimeParserSetStream(Stream, MimeFormat) Method

Set the stream to parse.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
void SetStream(
	Stream stream,
	MimeFormat format = MimeFormat.Entity
)

Parameters

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

Remarks

Sets the stream to parse, copying MIME part content into memory.

Exceptions

ArgumentNullException stream is .

See Also