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.BaseStream

Returns the underlying stream.

[Visual Basic]
Overridable Public ReadOnly Property BaseStream As Stream
[C#]
public Stream BaseStream {virtual get;}
[C++]
public: __property virtual Stream* get_BaseStream();
[JScript]
public function get BaseStream() : Stream;

Property Value

The underlying stream.

Remarks

SwitchEncoding can change the encoding, under some complex conditions. Also, the StreamReader constructors with the detectEncodingFromByteOrderMarks parameter can change the encoding the first time you read from the StreamReader.

See Also

StreamReader Class | StreamReader Members | System.IO Namespace