The SftpFileStream type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| BeginRead |
Begins an asynchronous read operation.
(Overrides | |
| BeginWrite |
Begins an asynchronous write operation.
(Overrides | |
| Close |
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Overrides | |
Reads all the bytes from the current stream and writes them to the destination stream. (Inherited from | ||
Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. (Inherited from | ||
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from | ||
| Obsolete. Allocates a (Inherited from | ||
Releases all resources used by the (Inherited from | ||
| Dispose(Boolean) |
Releases the unmanaged resources used by the (Overrides | |
| EndRead |
Waits for the pending asynchronous read to complete.
(Overrides | |
| EndWrite |
Ends an asynchronous write operation.
(Overrides | |
| (Inherited from | ||
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the
SftpFileStream is reclaimed by garbage collection.
(Overrides | |
| Flush |
Clears all buffers for this stream and causes any buffered data to be written to the file.
(Overrides | |
Serves as a hash function for a particular type. (Inherited from | ||
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from | ||
Gets the (Inherited from | ||
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Provides support for a (Inherited from | ||
| Read |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides | |
| ReadByte |
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Overrides | |
| Seek |
Sets the position within the current stream.
(Overrides | |
| SetLength |
When overridden in a derived class, sets the length of the current stream.
(Overrides | |
| (Inherited from | ||
| Write |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides | |
| WriteByte |
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Overrides |
See Also