NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StreamReader.GetEncoding

Returns the current character encoding that is being used by the current reader.

[Visual Basic]
Overridable Public Function GetEncoding() As Encoding
[C#]
public virtual Encoding GetEncoding();
[C++]
public: virtual Encoding* GetEncoding();
[JScript]
public function GetEncoding() : Encoding;

Return Value

The current character encoding being used by the current reader.

See Also

StreamReader Class | StreamReader Members | System.IO Namespace