MyGit

2016.0.0

sshnet/SSH.NET

版本发布时间: 2016-08-03 03:17:13

sshnet/SSH.NET最新发布版本:2024.1.0(2024-06-28 15:06:08)

Changes since 2016.0.0-beta3

Fixes

Changes since 2013.4.7

Breaking Changes

New Features

Target framework support

This is the first release of SSH.NET providing support for .NET Core and Universal Windows Platform 10 (UAP10.0). The support for .NET Core comes in the form of an assembly targeting the .NET Platform Standard 1.3 TFM.

The full list of the supported target frameworks for this release is:

Security

General

Changes

Performance

Overall performance has been greatly improved. Some of the changes that contributed to these gains are:

Distribution

The SSH.NET NuGet package is now our only binary distribution mechanism. We no longer provide zip files that contain the assembly for individual target frameworks.

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
    }
}

Fixes

Security

SshClient

SftpClient

ScpClient

General

相关地址:原始地址 下载(tar) 下载(zip)

1、 SshNet.Help.chm 2.35MB

查看:2016-08-03发行的版本