Click or drag to resize

HtmlDocumentDetectEncodingAndLoad Method (String, Boolean)

Detects the encoding of an HTML document from a file first, and then loads the file.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax
public void DetectEncodingAndLoad(
	string path,
	bool detectEncoding
)

Parameters

path
Type: SystemString
The complete file path to be read. May not be null.
detectEncoding
Type: SystemBoolean
true to detect encoding, false otherwise.
See Also