Click or drag to resize
MimeKit

TextConverterConvert(TextReader, Stream) Method

Convert the contents of reader from the InputFormat to the OutputFormat and writes the resulting text to destination.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public virtual void Convert(
	TextReader reader,
	Stream destination
)

Parameters

reader  TextReader
The text reader.
destination  Stream
The destination stream.
Exceptions
ExceptionCondition
ArgumentNullException

reader is null.

-or-

destination is null.

Remarks
Converts the contents of reader from the InputFormat to the OutputFormat and writes the resulting text to destination.
See Also