Click or drag to resize
MimeKit

TextConverterConvert(Stream, TextWriter) Method

Convert the contents of source from the InputFormat to the OutputFormat and uses the writer to write the resulting text.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public virtual void Convert(
	Stream source,
	TextWriter writer
)

Parameters

source  Stream
The source stream.
writer  TextWriter
The text writer.
Exceptions
ExceptionCondition
ArgumentNullException

source is null.

-or-

writer is null.

Remarks
Converts the contents of source from the InputFormat to the OutputFormat and uses the writer to write the resulting text.
See Also