API Differences between 2024.0.0 and 2016.1.0
262 Additions
54 Removals
Renci.SshNet
-
public abstract class BaseClient : IBaseClient, IDisposable
-
public class ConnectionInfo : IConnectionInfoInternal, IConnectionInfo
-
public class ExpectAsyncResult : AsyncResult<string>
-
public abstract class ForwardedPort : IForwardedPort, IDisposable
-
public class ForwardedPortDynamic : ForwardedPort
-
public class ForwardedPortLocal : ForwardedPort
-
public class ForwardedPortRemote : ForwardedPort
-
public class HashInfo
-
public interface IBaseClient : IDisposable
-
public interface IPrivateKeySource
-
public interface ISftpClient : IBaseClient, IDisposable
- uint BufferSize { get; set; }
- TimeSpan OperationTimeout { get; set; }
- int ProtocolVersion { get; }
- string WorkingDirectory { get; }
- void AppendAllLines(string path, IEnumerable<string> contents)
- void AppendAllLines(string path, IEnumerable<string> contents, Encoding encoding)
- void AppendAllText(string path, string contents)
- void AppendAllText(string path, string contents, Encoding encoding)
- StreamWriter AppendText(string path)
- StreamWriter AppendText(string path, Encoding encoding)
- IAsyncResult BeginDownloadFile(string path, Stream output)
- IAsyncResult BeginDownloadFile(string path, Stream output, AsyncCallback asyncCallback)
- IAsyncResult BeginDownloadFile(string path, Stream output, AsyncCallback asyncCallback, object state, Action<ulong> downloadCallback = null)
- IAsyncResult BeginListDirectory(string path, AsyncCallback asyncCallback, object state, Action<int> listCallback = null)
- IAsyncResult BeginSynchronizeDirectories(string sourcePath, string destinationPath, string searchPattern, AsyncCallback asyncCallback, object state)
- IAsyncResult BeginUploadFile(Stream input, string path)
- IAsyncResult BeginUploadFile(Stream input, string path, AsyncCallback asyncCallback)
- IAsyncResult BeginUploadFile(Stream input, string path, AsyncCallback asyncCallback, object state, Action<ulong> uploadCallback = null)
- IAsyncResult BeginUploadFile(Stream input, string path, bool canOverride, AsyncCallback asyncCallback, object state, Action<ulong> uploadCallback = null)
- void ChangeDirectory(string path)
- void ChangePermissions(string path, short mode)
- SftpFileStream Create(string path)
- SftpFileStream Create(string path, int bufferSize)
- void CreateDirectory(string path)
- StreamWriter CreateText(string path)
- StreamWriter CreateText(string path, Encoding encoding)
- void Delete(string path)
- void DeleteDirectory(string path)
- void DeleteFile(string path)
- Task DeleteFileAsync(string path, CancellationToken cancellationToken)
- void DownloadFile(string path, Stream output, Action<ulong> downloadCallback = null)
- void EndDownloadFile(IAsyncResult asyncResult)
- IEnumerable<ISftpFile> EndListDirectory(IAsyncResult asyncResult)
- IEnumerable<FileInfo> EndSynchronizeDirectories(IAsyncResult asyncResult)
- void EndUploadFile(IAsyncResult asyncResult)
- bool Exists(string path)
- ISftpFile Get(string path)
- SftpFileAttributes GetAttributes(string path)
- DateTime GetLastAccessTime(string path)
- DateTime GetLastAccessTimeUtc(string path)
- DateTime GetLastWriteTime(string path)
- DateTime GetLastWriteTimeUtc(string path)
- SftpFileSytemInformation GetStatus(string path)
- Task<SftpFileSytemInformation> GetStatusAsync(string path, CancellationToken cancellationToken)
- IEnumerable<ISftpFile> ListDirectory(string path, Action<int> listCallback = null)
- IAsyncEnumerable<ISftpFile> ListDirectoryAsync(string path, CancellationToken cancellationToken)
- SftpFileStream Open(string path, FileMode mode)
- SftpFileStream Open(string path, FileMode mode, FileAccess access)
- Task<SftpFileStream> OpenAsync(string path, FileMode mode, FileAccess access, CancellationToken cancellationToken)
- SftpFileStream OpenRead(string path)
- StreamReader OpenText(string path)
- SftpFileStream OpenWrite(string path)
- byte[] ReadAllBytes(string path)
- string[] ReadAllLines(string path)
- string[] ReadAllLines(string path, Encoding encoding)
- string ReadAllText(string path)
- string ReadAllText(string path, Encoding encoding)
- IEnumerable<string> ReadLines(string path)
- IEnumerable<string> ReadLines(string path, Encoding encoding)
- void RenameFile(string oldPath, string newPath)
- void RenameFile(string oldPath, string newPath, bool isPosix)
- Task RenameFileAsync(string oldPath, string newPath, CancellationToken cancellationToken)
- void SetAttributes(string path, SftpFileAttributes fileAttributes)
- void SetLastAccessTime(string path, DateTime lastAccessTime)
- void SetLastAccessTimeUtc(string path, DateTime lastAccessTimeUtc)
- void SetLastWriteTime(string path, DateTime lastWriteTime)
- void SetLastWriteTimeUtc(string path, DateTime lastWriteTimeUtc)
- void SymbolicLink(string path, string linkPath)
- IEnumerable<FileInfo> SynchronizeDirectories(string sourcePath, string destinationPath, string searchPattern)
- void UploadFile(Stream input, string path, Action<ulong> uploadCallback = null)
- void UploadFile(Stream input, string path, bool canOverride, Action<ulong> uploadCallback = null)
- void WriteAllBytes(string path, byte[] bytes)
- void WriteAllLines(string path, IEnumerable<string> contents)
- void WriteAllLines(string path, IEnumerable<string> contents, Encoding encoding)
- void WriteAllLines(string path, string[] contents)
- void WriteAllLines(string path, string[] contents, Encoding encoding)
- void WriteAllText(string path, string contents)
- void WriteAllText(string path, string contents, Encoding encoding)
-
public class NetConfClient : BaseClient
- public NetConfClient(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public NetConfClient(string host, string username, PrivateKeyFile[] keyFiles)
- public NetConfClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public NetConfClient(string host, string username, IPrivateKeySource[] keyFiles)
-
public class PrivateKeyAuthenticationMethod : AuthenticationMethod, IDisposable
-
public class PrivateKeyConnectionInfo : ConnectionInfo, IDisposable
- public ICollection<PrivateKeyFile> KeyFiles { get; }
- public ICollection<IPrivateKeySource> KeyFiles { get; }
- public PrivateKeyConnectionInfo(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, PrivateKeyFile[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, IPrivateKeySource[] keyFiles)
- public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, IPrivateKeySource[] keyFiles)
-
public class PrivateKeyFile : IPrivateKeySource, IDisposable
-
public class ScpClient : BaseClient
- public ScpClient(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public ScpClient(string host, string username, PrivateKeyFile[] keyFiles)
- public void Download(string filename, Stream destination)
- public ScpClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public ScpClient(string host, string username, IPrivateKeySource[] keyFiles)
- public void Download(string filename, Stream destination)
-
public class Session : ISession, IDisposable
-
public class SftpClient : BaseClient, ISftpClient, IBaseClient, IDisposable
- public SftpClient(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public SftpClient(string host, string username, PrivateKeyFile[] keyFiles)
- public SftpClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public SftpClient(string host, string username, IPrivateKeySource[] keyFiles)
- public Task DeleteFileAsync(string path, CancellationToken cancellationToken)
- public IEnumerable<SftpFile> EndListDirectory(IAsyncResult asyncResult)
- public IEnumerable<ISftpFile> EndListDirectory(IAsyncResult asyncResult)
- public SftpFile Get(string path)
- public ISftpFile Get(string path)
- public IEnumerable<SftpFile> ListDirectory(string path, Action<int> listCallback = null)
- public Task<SftpFileSytemInformation> GetStatusAsync(string path, CancellationToken cancellationToken)
- public IEnumerable<ISftpFile> ListDirectory(string path, Action<int> listCallback = null)
- public IAsyncEnumerable<ISftpFile> ListDirectoryAsync(string path, CancellationToken cancellationToken)
- public Task<SftpFileStream> OpenAsync(string path, FileMode mode, FileAccess access, CancellationToken cancellationToken)
- public Task RenameFileAsync(string oldPath, string newPath, CancellationToken cancellationToken)
-
public class ShellStream : Stream
- public event EventHandler<EventArgs> Closed
- public IAsyncResult BeginExpect(TimeSpan timeout, int lookback, AsyncCallback callback, object state, ExpectAction[] expectActions)
- public void Expect(TimeSpan timeout, int lookback, ExpectAction[] expectActions)
- public string Expect(string text, TimeSpan timeout)
- public string Expect(string text, TimeSpan timeout, int lookback = -1)
- public string Expect(Regex regex, TimeSpan timeout)
- public string Expect(Regex regex, TimeSpan timeout, int lookback = -1)
-
public class SshClient : BaseClient
- public SshClient(string host, int port, string username, PrivateKeyFile[] keyFiles)
- public SshClient(string host, string username, PrivateKeyFile[] keyFiles)
- public SshClient(string host, int port, string username, IPrivateKeySource[] keyFiles)
- public SshClient(string host, string username, IPrivateKeySource[] keyFiles)
-
public class SshCommand : IDisposable
Renci.SshNet.Abstractions
Renci.SshNet.Common
Renci.SshNet.Connection
Renci.SshNet.Messages
Renci.SshNet.Messages.Transport
Renci.SshNet.Security
Renci.SshNet.Security.Cryptography
Renci.SshNet.Security.Cryptography.Ciphers
Renci.SshNet.Sftp