ClientSftpChannel - GetClient

[C++]

[ClientSftpChannel] Client GetClient();

[C#]

[ClientSftpChannel] public ClientBase GetClient();

Remarks

GetClient returns the associated client object. Note that ClientSessionChannel references the associated client so the client is not destroyed [C++] or garbage collected [.NET] before the channel is.