The ScpClient type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| Connect |
Connects client to the server.
(Inherited from BaseClient.) | |
| Disconnect |
Disconnects client from the server.
(Inherited from BaseClient.) | |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged ResourceMessages.
(Inherited from BaseClient.) | |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Overrides BaseClient Dispose(Boolean).) | |
| Download(String, DirectoryInfo) |
Downloads the specified directory from the remote host to local directory.
| |
| Download(String, FileInfo) |
Downloads the specified file from the remote host to local file.
| |
| Download(String, Stream) |
Downloads the specified file from the remote host to the stream.
| |
| EnsureConnection |
Ensures that client is connected.
(Inherited from BaseClient.) | |
| (Inherited from | ||
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the
BaseClient is reclaimed by garbage collection.
(Inherited from BaseClient.) | |
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| OnConnected |
Called when client is connected to the server.
(Inherited from BaseClient.) | |
| OnConnecting |
Called when client is connecting to the server.
(Inherited from BaseClient.) | |
| OnDisconnected |
Called when client is disconnected from the server.
(Inherited from BaseClient.) | |
| OnDisconnecting |
Called when client is disconnecting from the server.
(Inherited from BaseClient.) | |
| SendKeepAlive |
Sends keep-alive message to the server.
(Inherited from BaseClient.) | |
| (Inherited from | ||
| Upload(DirectoryInfo, String) |
Uploads the specified directory to the remote host.
| |
| Upload(FileInfo, String) |
Uploads the specified file to the remote host.
| |
| Upload(Stream, String) |
Uploads the specified stream to the remote host.
|
See Also