A Sandcastle Documented Class Library |
HtmlDocument..::..DetectEncoding Method (Stream) |
HtmlDocument Class See Also Send Feedback |
Detects the encoding of an HTML stream.
Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
C# |
---|
public Encoding DetectEncoding( Stream stream ) |
Visual Basic |
---|
Public Function DetectEncoding ( _ stream As Stream _ ) As Encoding |
Visual C++ |
---|
public: Encoding^ DetectEncoding( Stream^ stream ) |
Parameters
- stream
- Type: System.IO..::..Stream
The input stream. May not be null.