Gets the length in bytes of the stream.
Namespace: Renci.SshNet.SftpAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
Return Value
A long value representing the length of the stream in bytes.Exceptions
| Exception | Condition |
|---|---|
| A class derived from Stream does not support seeking. | |
| Methods were called after the stream was closed. | |
| IO operation failed. |
See Also