Method Prepend
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
Prepend(params string[])
The defaults, with these algorithms moved or added to the front (ssh_config's ^, Ciphers ^a,b).
public static SshAlgorithmList Prepend(params string[] algorithms)
Parameters
algorithmsstring[]The algorithm names to prefer, most preferred first.
Returns
Exceptions
- ArgumentException
The list is empty, or a name is empty, contains a comma, white space or a wildcard.