Mono Class Library: System.IO.StreamReader Overview | Members

System.IO.StreamReader.CurrentEncoding Property

Gets the current character encoding that the current System.IO.StreamReader is using. [Edit]

public virtual System.Text.Encoding CurrentEncoding { get; }

Value

The current System.Text.Encoding used by the current reader. [Edit]

Remarks

This property is read-only.

The value returned by this property might change after the first call to a StreamReader.Read method if encoding auto detection was specified to the constructor for the current instance.

[Edit]

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0