PowerTCP SSH and SFTP for .NET
KeyExchangeAlgorithms Property




Returns a list of available key exchange algorithms, in order of preference.
Syntax
'Declaration
 
Public Property KeyExchangeAlgorithms As String()
'Usage
 
Dim instance As Connection
Dim value() As String
 
instance.KeyExchangeAlgorithms = value
 
value = instance.KeyExchangeAlgorithms
public string[] KeyExchangeAlgorithms {get; set;}
public: __property string*[]* get_KeyExchangeAlgorithms();
public: __property void set_KeyExchangeAlgorithms( 
   string*[][]* value
);
public:
property array<String^>^ KeyExchangeAlgorithms {
   array<String^>^ get();
   void set (    array<String^>^ value);
}

Property Value

An array of available key exchange algorithms.
Remarks

By default, the array contains the following strings:

The algorithms specified in this array will be backed by the corresponding System.Security.Cryptography classes available under the project's target .NET Framework (up to and including .NET 4.6.2) and runtime OS in the following order of preference: *Cng, *CryptoServiceProvider, *Managed. Only algorithms backed by a System.Security.Cryptography class available under the project's target .NET Framework and runtime OS will be added to this array when the component is created.

Note on FIPS compliance: If the system security policy dictates that only FIPS-certified algorithms may be used, only algorithms backed by FIPS-certified System.Security.Cryptography classes available under the project's target .NET Framework and runtime OS will be added to this array when the component is created. If non-certified algorithms are added to the collection, they will be removed prior to establishing a connection.

See Also

Reference

Connection Class
Connection Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic