AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.8.1" />

 XmlDeclarationToken

sealed class XmlDeclarationToken : XmlToken
Represents the XML declaration <?xml ...?>
public string Encoding { get; set; }

Gets or sets the encoding value.

public bool IsEncodingMissing { get; }

Gets if the encoding value has been set.

public bool Standalone { get; set; }

Gets or sets the standalone value.

public string Version { get; set; }

Gets or sets the version value.

Creates a new XML declaration token.