StreamReader.CurrentEncoding Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the current character encoding that the current StreamReader object is using.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Text.EncodingThe current character encoding used by the current reader. The value can be different after the first call to any Read method of StreamReader, since encoding autodetection is not done until the first call to a Read method.
Show: