The properties of the MemoryStream class are listed below. For a complete list of MemoryStream class members, see the MemoryStream Members topic.
CanRead | Determines whether the current stream supports reading. |
CanSeek | Determines whether the current stream supports seeking. |
CanWrite | Determines whether the current stream supports writing. |
Capacity | Gets or sets the number of bytes allocated for this stream. |
DataAvailable | Determines whether there are any bytes available in the current stream. |
Length | Returns the length in bytes of the stream. |
Position | Determines the current position within the stream. |