C# Класс Renci.SshNet.ServiceFactory

Показать файл Открыть проект

Открытые методы

Метод Описание
CreateClientAuthentication ( ) : IClientAuthentication

Creates a IClientAuthentication.

CreateKeyExchange ( Type>.IDictionary clientAlgorithms, string serverAlgorithms ) : IKeyExchange

Negotiates a key exchange algorithm, and creates a IKeyExchange for the negotiated algorithm.

CreateNetConfSession ( ISession session, System.TimeSpan operationTimeout ) : INetConfSession

Creates a new INetConfSession in a given ISession and with the specified operation timeout.

CreatePipeStream ( ) : PipeStream

Create a new PipeStream.

CreateSession ( ConnectionInfo connectionInfo ) : ISession

Creates a new ISession with the specified ConnectionInfo.

CreateSftpSession ( ISession session, System.TimeSpan operationTimeout, Encoding encoding ) : ISftpSession

Creates a new ISftpSession in a given ISession and with the specified operation timeout and encoding.

Описание методов

CreateClientAuthentication() публичный метод

Creates a IClientAuthentication.
public CreateClientAuthentication ( ) : IClientAuthentication
Результат IClientAuthentication

CreateKeyExchange() публичный метод

Negotiates a key exchange algorithm, and creates a IKeyExchange for the negotiated algorithm.
is null. is null. No key exchange algorithms are supported by both client and server.
public CreateKeyExchange ( Type>.IDictionary clientAlgorithms, string serverAlgorithms ) : IKeyExchange
clientAlgorithms Type>.IDictionary A of the key exchange algorithms supported by the client where key is the name of the algorithm, and value is the type implementing this algorithm.
serverAlgorithms string The names of the key exchange algorithms supported by the SSH server.
Результат IKeyExchange

CreateNetConfSession() публичный метод

Creates a new INetConfSession in a given ISession and with the specified operation timeout.
public CreateNetConfSession ( ISession session, System.TimeSpan operationTimeout ) : INetConfSession
session ISession The to create the in.
operationTimeout System.TimeSpan The operation timeout.
Результат INetConfSession

CreatePipeStream() публичный метод

Create a new PipeStream.
public CreatePipeStream ( ) : PipeStream
Результат PipeStream

CreateSession() публичный метод

Creates a new ISession with the specified ConnectionInfo.
is null.
public CreateSession ( ConnectionInfo connectionInfo ) : ISession
connectionInfo ConnectionInfo The to use for creating a new session.
Результат ISession

CreateSftpSession() публичный метод

Creates a new ISftpSession in a given ISession and with the specified operation timeout and encoding.
public CreateSftpSession ( ISession session, System.TimeSpan operationTimeout, Encoding encoding ) : ISftpSession
session ISession The to create the in.
operationTimeout System.TimeSpan The operation timeout.
encoding Encoding The encoding.
Результат ISftpSession