BufferedStream.Length Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the stream length in bytes.
public:
 virtual property long Length { long get(); };public override long Length { get; }member this.Length : int64Public Overrides ReadOnly Property Length As LongProperty Value
The stream length in bytes.
Exceptions
The underlying stream is null or closed.
The stream does not support seeking.
Methods were called after the stream was closed.