Sftp.DisconnectAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
DisconnectAsync(Object)
Begins asynchronous Disconnect operation. Informs the server that the connection is about to close and terminates the connection.
Declaration
public Task DisconnectAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |