When overridden in a derived class, gets the length in bytes of the stream.
A long value representing the length of the stream in bytes.
TypeReasonNotSupportedExceptionThe stream does not support seeking.ObjectDisposedExceptionThe stream is closed.