Click or drag to resize
MimeKit

HtmlTokenizer(Stream) Constructor

Initialize a new instance of the HtmlTokenizer class.

Namespace: MimeKit.Text
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public HtmlTokenizer(
	Stream stream
)

Parameters

stream  Stream
The input stream.
Remarks

Creates a new HtmlTokenizer.

This constructor will attempt to auto-detect the appropriate encoding to use by examining the first four bytes of the stream and, if a unicode byte-order-mark is detected, use the appropriate unicode encoding. If no byte order mark is detected, then it will default to UTF-8.

See Also