Click or drag to resize

ByteCountingStreamLength Property

When overridden in a derived class, gets the length in bytes of the stream.

Namespace: SanteDB.Core.IO
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public override long Length { get; }

Return Value

Int64
A long value representing the length of the stream in bytes.
Exceptions
ExceptionCondition
NotSupportedExceptionA class derived from Stream does not support seeking and the length is unknown.
ObjectDisposedExceptionMethods were called after the stream was closed.
See Also