Gets the encoding of the document.
If the XmlTextReader.ReadState is ReadState.Interactive, a System.Text.Encoding; otherwise null.
This property is read-only.
If no encoding attribute exists, this property defaults to UTF-8.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0