C# Class Renci.SshNet.ServiceFactory

Afficher le fichier Open project: sshnet/SSH.NET

Méthodes publiques

Méthode Description
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.

Method Details

CreateClientAuthentication() public méthode

Creates a IClientAuthentication.
public CreateClientAuthentication ( ) : IClientAuthentication
Résultat IClientAuthentication

CreateKeyExchange() public méthode

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.
Résultat IKeyExchange

CreateNetConfSession() public méthode

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.
Résultat INetConfSession

CreatePipeStream() public méthode

Create a new PipeStream.
public CreatePipeStream ( ) : PipeStream
Résultat PipeStream

CreateSession() public méthode

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.
Résultat ISession

CreateSftpSession() public méthode

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.
Résultat ISftpSession