You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
832 B
C#

using Renci.SshNet.NetConf;
namespace Renci.SshNet
{
internal partial class ServiceFactory
{
/// <summary>
/// Creates a new <see cref="INetConfSession"/> in a given <see cref="ISession"/>
/// and with the specified operation timeout.
/// </summary>
/// <param name="session">The <see cref="ISession"/> to create the <see cref="INetConfSession"/> in.</param>
/// <param name="operationTimeout">The number of milliseconds to wait for an operation to complete, or -1 to wait indefinitely.</param>
/// <returns>
/// An <see cref="INetConfSession"/>.
/// </returns>
public INetConfSession CreateNetConfSession(ISession session, int operationTimeout)
{
return new NetConfSession(session, operationTimeout);
}
}
}