Click or drag to resize

StreamLength Property

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

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public abstract 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.
ObjectDisposedException Methods were called after the stream was closed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also