IServiceFactory
interface IServiceFactory
Factory for creating new services.
using Renci.SshNet.Common;
using Renci.SshNet.Security;
using Renci.SshNet.Sftp;
using System;
using System.Collections.Generic;
using System.Text;
namespace Renci.SshNet
{
internal interface IServiceFactory
{
IClientAuthentication CreateClientAuthentication();
ISession CreateSession(ConnectionInfo connectionInfo);
ISftpSession CreateSftpSession(ISession session, TimeSpan operationTimeout, Encoding encoding);
PipeStream CreatePipeStream();
IKeyExchange CreateKeyExchange(IDictionary<string, Type> clientAlgorithms, string[] serverAlgorithms);
}
}