EncodingDetectionContext Class
The context of the detection of the encoding of a document (see EncodingDetector.Detect).
public sealed class EncodingDetectionContextProperties
| Name | Description |
|---|---|
| IsComplete | Gets whether the bytes are the whole document. It is false for a document that is parsed as its bytes arrive: the bytes may end in the middle of a character. |
| Url | Gets the URL of the document, or null when it has none (HtmlParserOptions.Url is not set). |
IsComplete
EncodingDetector.csGets the URL of the document, or null when it has none (HtmlParserOptions.Url is not set).
public string? Url { get; }