ServiceFactory
Basic factory for creating new services.
public ServiceFactory()
Creates a IClientAuthentication.
public IKeyExchange CreateKeyExchange(IDictionary<string, Type> clientAlgorithms, string[] serverAlgorithms)
Negotiates a key exchange algorithm, and creates a IKeyExchange for the negotiated
algorithm.
Creates a new INetConfSession in a given ISession
and with the specified operation timeout.
Create a new PipeStream.
Creates an IRemotePathTransformation that encloses a path in double quotes, and escapes
any embedded double quote with a backslash.
Creates a new ISession with the specified ConnectionInfo.
public ISftpFileReader CreateSftpFileReader(string fileName, ISftpSession sftpSession, uint bufferSize)
public ISftpSession CreateSftpSession(ISession session, int operationTimeout, Encoding encoding, ISftpResponseFactory sftpMessageFactory)
Creates a new ISftpSession in a given ISession and with
the specified operation timeout and encoding.
public ShellStream CreateShellStream(ISession session, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModeValues, int bufferSize)
Creates a shell stream.