Click or drag to resize

SftpFileStreamLength Property

Gets the length in bytes of the stream.

Namespace: Crestron.SimplSharp.Ssh.Sftp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
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.
ObjectDisposedExceptionMethods were called after the stream was closed.
IOExceptionIO operation failed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also