Xceed .NET Libraries Documentation
DefaultChooseAlgorithm<T> Method


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHTransportLayerProtocol Class : DefaultChooseAlgorithm<T> Method
Syntax
'Declaration
 
Protected Shared Function DefaultChooseAlgorithm(Of T)( _

   ByVal factory As ISSHAlgorithmFactory(Of T), _

   ByVal clientAlgorithms As IEnumerable(Of String), _

   ByVal serverAlgorithms As IEnumerable(Of String) _

) As T
'Usage
 
Dim factory As ISSHAlgorithmFactory(Of T)

Dim clientAlgorithms As IEnumerable(Of String)

Dim serverAlgorithms As IEnumerable(Of String)

Dim value As T

 

value = SSHTransportLayerProtocol.DefaultChooseAlgorithm(Of T)(factory, clientAlgorithms, serverAlgorithms)
protected static T DefaultChooseAlgorithm<T>( 

   ISSHAlgorithmFactory<T> factory,

   IEnumerable<string> clientAlgorithms,

   IEnumerable<string> serverAlgorithms

)

Parameters

factory
clientAlgorithms
serverAlgorithms

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

Reference

SSHTransportLayerProtocol Class
SSHTransportLayerProtocol Members