PowerTCP SSH and SFTP for .NET
AcceptAllHostKeys Property




When true, all host keys are accepted if not overridden with HostKeyEventArgs.Verified. When false, the HostKey event must be used to verify host keys.
Syntax
'Declaration
 
<DefaultValueAttribute(True)>
Public Property AcceptAllHostKeys As Boolean
'Usage
 
Dim instance As SshConnection
Dim value As Boolean
 
instance.AcceptAllHostKeys = value
 
value = instance.AcceptAllHostKeys
[DefaultValue(true)]
public bool AcceptAllHostKeys {get; set;}
[DefaultValue(true)]
public: __property bool get_AcceptAllHostKeys();
public: __property void set_AcceptAllHostKeys( 
   bool value
);
[DefaultValue(true)]
public:
property bool AcceptAllHostKeys {
   bool get();
   void set (    bool value);
}
See Also

Reference

SshConnection Class
SshConnection Members


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