The members of System.IO.Stream are listed below.
See Also: Inherited members from System.MarshalByRefObject
Protected Constructors
Public Fields
Public Properties
[read-only] abstract | CanRead | bool. Gets a bool value indicating whether the current stream supports reading. |
[read-only] abstract | CanSeek | bool. Gets a bool value indicating whether the current stream supports seeking. |
[read-only] | CanTimeout | bool. Documentation for this section has not yet been entered. |
[read-only] abstract | CanWrite | bool. Gets a bool value indicating whether the current stream supports writing. |
[read-only] abstract | Length | long. Gets the length in bytes of the stream. |
abstract | Position | long. Gets or sets the position within the current stream. |
| ReadTimeout | int. Documentation for this section has not yet been entered. |
| WriteTimeout | int. Documentation for this section has not yet been entered. |
Public Methods
| BeginRead(byte[], int, int, AsyncCallback, object) : IAsyncResultBegins an asynchronous read operation. |
| BeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResultBegins an asynchronous write operation. |
| Close() Closes the current stream
and releases any resources associated with the current stream. |
| Dispose()Documentation for this section has not yet been entered. |
| EndRead(IAsyncResult) : intEnds a pending asynchronous read request. |
| EndWrite(IAsyncResult)Ends an asynchronous write operation. |
abstract | Flush() Flushes the internal buffer. |
abstract | Read(byte[], int, int) : int Reads a sequence of bytes from the current stream and advances the position
within the stream by the number of bytes read. |
| ReadByte() : int Reads a byte from the stream and advances the position
within the stream by one byte. |
abstract | Seek(long, SeekOrigin) : longChanges the position within the current stream by the given offset, which is relative to the stated origin. |
abstract | SetLength(long)Sets the length of the current stream. |
static | Synchronized(Stream) : StreamDocumentation for this section has not yet been entered. |
abstract | Write(byte[], int, int)Writes a
sequence of bytes to the current stream and advances the current position within
the current stream by the number of bytes written. |
| WriteByte(byte)Writes a byte to the current position in the stream and advances the position within the stream by one byte. |
Protected Methods
Explicitly Implemented Interface Members