Back to product page

KeyExchangeList property


Determines list of key exchange algorithms supported and offered by wodSFTP.NET.

Type

String. Represents list of supported key exchange algorithms.

Syntax

  • Basic
  • C#
Property KeyExchangeList As String

String KeyExchangeList {get; set; };

Remarks

KeyExchangeList property holds list of all supported and offered key exchange algorithms that can be used when client connects to the server. By default KeyExchangeList will contain this list

diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

but you can change it and remove or rearrange key exchanges to suit your needs. Note that order of supported algorithms is VERY important since client makes a choice of used algorithm. Removing them means wodSFTP.NET will not use them. Adding new unlisted key exchange algorithm will cause wodSFTP.NET to fail to connect.

Platforms

Windows