API Differences between 2024.1.0 and 2013.1.27
406 Additions
191 Removals
Renci.SshNet
-
public abstract class AuthenticationMethod : IAuthenticationMethod
-
public abstract class BaseClient : IBaseClient, IDisposable
-
public class CipherInfo
-
public class CommandAsyncResult : IAsyncResult
-
public class ConnectionInfo : IConnectionInfoInternal, IConnectionInfo
-
public class ExpectAsyncResult : AsyncResult<string>
-
public static class Extensions
-
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 IForwardedPort : IDisposable
-
public interface IPrivateKeySource
-
public interface IRemotePathTransformation
-
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)
- SftpFileSystemInformation GetStatus(string path)
- Task<SftpFileSystemInformation> 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 static class RemotePathTransformation
-
public class ScpClient : BaseClient
- public IRemotePathTransformation RemotePathTransformation { get; set; }
- 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 void Upload(FileSystemInfo fileSystemInfo, string path)
- public void Upload(FileInfo fileInfo, string path)
- public void Upload(DirectoryInfo directoryInfo, string path)
-
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 SftpFileSytemInformation GetStatus(string path)
- public IEnumerable<SftpFile> ListDirectory(string path, Action<int> listCallback = null)
- public SftpFileSystemInformation GetStatus(string path)
- public Task<SftpFileSystemInformation> 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)
- protected void WaitHandle(WaitHandle waitHandle)
-
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 Shell CreateShellNoTerminal(Stream input, Stream output, Stream extendedOutput, int bufferSize = -1)
- public ShellStream CreateShellStreamNoTerminal(int bufferSize = -1)
-
public class SshCommand : IDisposable
Renci.SshNet.Abstractions
Renci.SshNet.Common
-
public class ASCIIEncoding : Encoding
-
public abstract class AsyncResult : IAsyncResult
-
public class AuthenticationPromptEventArgs : AuthenticationEventArgs
-
public struct BigInteger : IComparable, IFormattable, IComparable<BigInteger>, IEquatable<BigInteger>
- public BigInteger(short sign, uint[] data)
- public static BigInteger Parse(string value, NumberStyles style, IFormatProvider provider)
- public static BigInteger Parse(string value, IFormatProvider provider)
- public static BigInteger Parse(string value)
- public static BigInteger Parse(string value, IFormatProvider provider)
- public static BigInteger Parse(string value, NumberStyles style, IFormatProvider provider)
- public static bool TryParse(string value, NumberStyles style, CultureInfo cultureInfo, out BigInteger result)
- public static bool TryParse(string value, NumberStyles style, IFormatProvider provider, out BigInteger result)
- public string ToString(IFormatProvider provider)
- public string ToString(IFormatProvider provider)
-
public class DerData
-
public class HostKeyEventArgs : EventArgs
-
public class NetConfServerException : SshException
-
public class PipeStream : Stream
-
public class ProxyException : SshException
-
public class ScpException : SshException
-
public class SemaphoreLight
-
public class SftpPathNotFoundException : SshException
-
public class SftpPermissionDeniedException : SshException
-
public class SshAuthenticationException : SshException
-
public class SshConnectionException : SshException
-
public abstract class SshData
-
public class SshDataStream : MemoryStream
-
public class SshException : Exception
-
public class SshIdentificationEventArgs : EventArgs
-
public class SshOperationTimeoutException : SshException
-
public class SshPassPhraseNullOrEmptyException : SshException
-
public enum TerminalModes
Renci.SshNet.Compression
Renci.SshNet.Connection
Renci.SshNet.Messages
Renci.SshNet.Messages.Authentication
Renci.SshNet.Messages.Connection
Renci.SshNet.Messages.Transport
Renci.SshNet.Security
Renci.SshNet.Security.Cryptography
-
public abstract class AsymmetricCipher : Cipher
-
public abstract class BlockCipher : SymmetricCipher
- protected readonly byte _blockSize
- public abstract int DecryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
- public abstract int EncryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
-
public abstract class Cipher
- public virtual int TagSize { get; }
- protected static uint BigEndianToUInt32(byte[] buffer)
- protected static uint BigEndianToUInt32(byte[] buffer, int offset)
- protected static ulong BigEndianToUInt64(byte[] buffer)
- protected static ulong BigEndianToUInt64(byte[] buffer, int offset)
- protected static uint LittleEndianToUInt32(byte[] buffer)
- protected static uint LittleEndianToUInt32(byte[] buffer, int offset)
- protected static ulong LittleEndianToUInt64(byte[] buffer)
- protected static ulong LittleEndianToUInt64(byte[] buffer, int offset)
- protected static void UInt32ToBigEndian(uint number, byte[] buffer)
- protected static void UInt32ToBigEndian(uint number, byte[] buffer, int offset)
- protected static void UInt32ToLittleEndian(uint number, byte[] buffer)
- protected static void UInt32ToLittleEndian(uint number, byte[] buffer, int offset)
- protected static void UInt64ToBigEndian(ulong number, byte[] buffer)
- protected static void UInt64ToBigEndian(ulong number, byte[] buffer, int offset)
- protected static void UInt64ToLittleEndian(ulong number, byte[] buffer)
- protected static void UInt64ToLittleEndian(ulong number, byte[] buffer, int offset)
- public abstract byte[] Decrypt(byte[] input, int offset, int length)
- public abstract byte[] Encrypt(byte[] input, int offset, int length)
-
public abstract class CipherDigitalSignature : DigitalSignature
-
public class HMac<T> : KeyedHashAlgorithm where T : HashAlgorithm
-
public class MD5Hash : HashAlgorithm
-
public class RIPEMD160Hash : HashAlgorithm
-
public class EcdsaDigitalSignature : DigitalSignature, IDisposable
-
public class ED25519DigitalSignature : DigitalSignature, IDisposable
-
public class HMACMD5 : HMACMD5
-
public class HMACSHA1 : HMACSHA1
-
public class HMACSHA256 : HMACSHA256
-
public class HMACSHA384 : HMACSHA384
-
public class HMACSHA512 : HMACSHA512
-
public class RsaDigitalSignature : DigitalSignature, IDisposable
-
public class SHA1Hash : HashAlgorithm
-
public class SHA256Hash : HashAlgorithm
-
public abstract class SHA2HashBase : HashAlgorithm
-
public class SHA384Hash : SHA2HashBase
-
public class SHA512Hash : SHA2HashBase
-
public abstract class SymmetricCipher : Cipher
- public abstract int DecryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
- public abstract int EncryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
Renci.SshNet.Security.Cryptography.Ciphers
Renci.SshNet.Sftp