IServiceFactory
interface IServiceFactory
Factory for creating new services.
IKeyExchange CreateKeyExchange(IDictionary<string, Type> clientAlgorithms, string[] serverAlgorithms)
Negotiates a key exchange algorithm, and creates a IKeyExchange for the negotiated
algorithm.
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.
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.
ShellStream CreateShellStream(ISession session, string terminalName, uint columns, uint rows, uint width, uint height, IDictionary<TerminalModes, uint> terminalModeValues, int bufferSize)
Creates a shell stream.