Method Only
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
Only(params string[])
Exactly these algorithms, in this order of preference (ssh_config's plain list, Ciphers a,b).
public static SshAlgorithmList Only(params string[] algorithms)
Parameters
algorithmsstring[]The algorithm names, most preferred first.
Returns
Exceptions
- ArgumentException
The list is empty, or a name is empty, contains a comma, white space or a wildcard.