SftpFileStream PropertiesSSH .NET Client Library Documentation
The SftpFileStream type exposes the following members.
Properties

  NameDescription
Public propertyCanRead
Gets a value indicating whether the current stream supports reading.
(Overrides OnlineStream CanRead.)
Public propertyCanSeek
Gets a value indicating whether the current stream supports seeking.
(Overrides OnlineStream CanSeek.)
Public propertyOnlineCanTimeout
Gets a value that determines whether the current stream can time out.
(Inherited from OnlineStream.)
Public propertyCanWrite
Gets a value indicating whether the current stream supports writing.
(Overrides OnlineStream CanWrite.)
Public propertyHandle
Gets the operating system file handle for the file that the current SftpFileStream object encapsulates.
Public propertyIsAsync
Gets a value indicating whether the FileStream was opened asynchronously or synchronously.
Public propertyLength
Gets the length in bytes of the stream.
(Overrides OnlineStream Length.)
Public propertyName
Gets the name of the FileStream that was passed to the constructor.
Public propertyPosition
Gets or sets the position within the current stream.
(Overrides OnlineStream Position.)
Public propertyOnlineReadTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from OnlineStream.)
Public propertyTimeout
Gets or sets the operation timeout.
Public propertyOnlineWriteTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from OnlineStream.)
Back to Top
See Also