CorLib  

StreamReader

StreamReader overview

Implements:

IObject 
TextReader 

Public:

Properties:
BaseStream (get) Returns the base stream this reader is reading from.  
CurrentEncoding (get) Returns the current encoding used by the reader.  
EndOfStream (get) 
Methods:
CloseReader Closes the reader.  
DiscardBufferedData Discards the currently buffered data to allow reading from a new position in the underlying stream.  
Equals Returns a boolean indicating if the value and this object instance are the same instance.  
GetHashCode Returns a pseudo-unique number identifying this instance.  
Peek Returns the the next char from the reader without consuming it.  
Read Returns the next char from the reader.  
ReadBlock Reads a block of characters from the the stream.  
ReadLine Returns a string of characters to the next new-line character.  
ReadToEnd Returns a string of all remaining characters in the stream.  
ToString Returns a string representation of this object instance.  

See Also