'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