LumiSoft Net Help
Authenticate Method (userName, password)
NamespacesLumiSoft.Net.FTP.ClientFTP_ClientAuthenticate(String, String)
Authenticates user. Authenticate method chooses strongest possible authentication method supported by server.
Declaration Syntax
C#Visual BasicVisual C++F#
public void Authenticate(
	string userName,
	string password
)
Public Sub Authenticate ( 
	userName As String,
	password As String
)
public:
void Authenticate(
	String^ userName, 
	String^ password
)
member Authenticate : 
        userName : string * 
        password : string -> unit 
Parameters
userName (String)
User login name.
password (String)
Password.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when FTP client is not connected or is already authenticated.
ArgumentNullExceptionIs raised when userName is null.
FTP_ClientExceptionIs raised when FTP server returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119