Click or drag to resize

ByteCountingStream Properties

The ByteCountingStream type exposes the following members.

Properties
 NameDescription
Public propertyBytesRead Gets the number of bytes that have been read through this stream.
Public propertyBytesWritten Gets the number of bytes that have been written through this stream.
Public propertyCanReadWhen overridden in a derived class, gets a value indicating whether the current stream supports reading.
(Overrides StreamCanRead)
Public propertyCanSeekWhen overridden in a derived class, gets a value indicating whether the current stream supports seeking.
(Overrides StreamCanSeek)
Public propertyCanTimeoutGets a value that determines whether the current stream can time out.
(Inherited from Stream)
Public propertyCanWriteWhen overridden in a derived class, gets a value indicating whether the current stream supports writing.
(Overrides StreamCanWrite)
Public propertyLengthWhen overridden in a derived class, gets the length in bytes of the stream.
(Overrides StreamLength)
Public propertyPositionWhen overridden in a derived class, gets or sets the position within the current stream.
(Overrides StreamPosition)
Public propertyReadTimeoutGets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from Stream)
Public propertyWriteTimeoutGets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream)
Top
See Also