Click or drag to resize

HtmlDocumentDetectEncoding Method (Stream)

Detects the encoding of an HTML stream.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax
public Encoding DetectEncoding(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The input stream. May not be null.

Return Value

Type: Encoding
The detected encoding.
See Also