Gets the length in bytes of the stream.
Namespace:
Rebex.Security
Assembly:
Rebex.Security (in Rebex.Security.dll)
Syntax
Visual Basic |
---|
Public Overrides ReadOnly Property Length As Long Get |
C# |
---|
public override long Length { get; } |
Return Value
A long value representing the length of the stream in bytes.Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | A class derived from Stream does not support seeking. |
System..::..ObjectDisposedException | Methods were called after the stream was closed. |