Gets the length in bytes of the stream.
A long value representing the length of the stream in bytes.
Type Reason NotSupportedException The stream does not support seeking. ObjectDisposedException The stream is closed.
Note: Use the Stream.CanSeek property to determine whether the current instance supports seeking.Operation
This property is read-only.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0