NET SFTP Library
MaxAuthorizationTries Property






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : MaxAuthorizationTries Property
When trying to connect the .NET SFTP Library will try User Name and Password, Public Key Authentication, and Keyboard Interactive Authentication By Default. There are a default of three authorization attempts. If set to 1, it will only try User Name and Password, if set to 2 then User Name/Password then Public Key, if 3 then Keyboard Interactive Authentication
Syntax
'Declaration
 
Public Property MaxAuthorizationTries As System.Integer
'Usage
 
Dim instance As SFTP
Dim value As System.Integer
 
instance.MaxAuthorizationTries = value
 
value = instance.MaxAuthorizationTries
public System.int MaxAuthorizationTries {get; set;}
public read-write property MaxAuthorizationTries: System.Integer; 
public function get,set MaxAuthorizationTries : System.int
public: __property System.int get_MaxAuthorizationTries();
public: __property void set_MaxAuthorizationTries( 
   System.int value
);
public:
property System.int MaxAuthorizationTries {
   System.int get();
   void set (    System.int value);
}

Property Value

The Maximum Authorization Tries
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFTP Class
SFTP Members