Xceed .NET Libraries Documentation
Xceed.SSH.Protocols Assembly / Xceed.SSH.Protocols Namespace / SSHTransportLayerProtocol Class / DefaultChooseAlgorithm Method / DefaultChooseAlgorithm<T>(ISSHAlgorithmFactory<T>,IEnumerable<String>,IEnumerable<String>,Exception) Method


In This Topic
    DefaultChooseAlgorithm<T>(ISSHAlgorithmFactory<T>,IEnumerable<String>,IEnumerable<String>,Exception) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Shared Function DefaultChooseAlgorithm(Of T)( _
       ByVal factory As ISSHAlgorithmFactory(Of T), _
       ByVal clientAlgorithms As IEnumerable(Of String), _
       ByVal serverAlgorithms As IEnumerable(Of String), _
       ByRef exception As Exception _
    ) As T
    'Usage
     
    Dim factory As ISSHAlgorithmFactory(Of T)
    Dim clientAlgorithms As IEnumerable(Of String)
    Dim serverAlgorithms As IEnumerable(Of String)
    Dim exception As Exception
    Dim value As T
     
    value = SSHTransportLayerProtocol.DefaultChooseAlgorithm(Of T)(factory, clientAlgorithms, serverAlgorithms, exception)
    public static T DefaultChooseAlgorithm<T>( 
       ISSHAlgorithmFactory<T> factory,
       IEnumerable<string> clientAlgorithms,
       IEnumerable<string> serverAlgorithms,
       out Exception exception
    )

    Parameters

    factory
    clientAlgorithms
    serverAlgorithms
    exception

    Type Parameters

    T
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also