C# Class Renci.SshNet.ServiceFactory

Datei anzeigen Open project: sshnet/SSH.NET

Public Methods

Method 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 method

Creates a IClientAuthentication.
public CreateClientAuthentication ( ) : IClientAuthentication
return IClientAuthentication

CreateKeyExchange() public method

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.
return IKeyExchange

CreateNetConfSession() public method

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.
return INetConfSession

CreatePipeStream() public method

Create a new PipeStream.
public CreatePipeStream ( ) : PipeStream
return PipeStream

CreateSession() public method

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.
return ISession

CreateSftpSession() public method

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.
return ISftpSession