Click or drag to resize

SftpFileStream Properties

The SftpFileStream type exposes the following members.

Properties
 NameDescription
Public propertyCanRead Gets a value indicating whether the current stream supports reading.
(Overrides StreamCanRead)
Public propertyCanSeek Gets a value indicating whether the current stream supports seeking.
(Overrides StreamCanSeek)
Public propertyCanTimeout Gets a value that determines whether the current stream can time out.
(Inherited from Stream)
Public propertyCanWrite Gets a value indicating whether the current stream supports writing.
(Overrides StreamCanWrite)
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 StreamLength)
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 StreamPosition)
Public propertyReadTimeout Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from Stream)
Public propertyTimeout Gets or sets the operation timeout.
Public propertyWriteTimeout Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream)
Top
See Also