SSH.NET v2016.0.0-beta3 Release Notes

Release Date: 2016-07-27 // over 7 years ago
  • ๐Ÿ†• New Features

    ๐Ÿ‘ .NET Core support

    This is the first release of SSH.NET providing support for .NET Core.
    ๐Ÿš€ The focus for this release was feature completeness and stability.
    ๐Ÿš€ Future releases will focus on performance.

    ๐Ÿ”„ Changes

    Stop port forwarding

    Up to now, stopping a forwarding port would block until all pending requests have completed and all channels are closed. This could result in a serious slowdown when stopping a SshClient with multiple forwarding ports.

    ๐Ÿš€ As of this release, pending requests will be interrupted and the port will gracefully stop once all channels are closed.

    ๐Ÿ“š Documentation

    ๐Ÿ“š Allround improvements to the API documentation.

    Exceptions in async methods

    Exceptions that are thrown during async processing are no longer wrapped in a SshException.
    For example, the following code will now just work:

    using (var client = new SftpClient(connectionInfo)) { var asyncResult = client.BeginDownloadFile("/home/sshnet/remoteFileThatDoesNotExist", ms); ... try { client.EndDownloadFile(asyncResult); } catch (SftpPathNotFoundException) { // we should be landing here } }