PowerTCP SSH and SFTP for .NET
ServerHostKeyAlgorithms Property




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

Property Value

An array of available server host key algorithms.
Remarks

By default, the array contains the following strings:

The entries of the array must be ordered by preference. At least one entry must be specified.

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