'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