LumiSoft Net Help
BeginAuthenticate Method (userName, password, tryApop, callback, state)
NamespacesLumiSoft.Net.POP3.ClientPOP3_ClientBeginAuthenticate(String, String, Boolean, AsyncCallback, Object)
Starts authentication.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use Login/LoginAsync method instead.")]
public IAsyncResult BeginAuthenticate(
	string userName,
	string password,
	bool tryApop,
	AsyncCallback callback,
	Object state
)
<ObsoleteAttribute("Use Login/LoginAsync method instead.")>
Public Function BeginAuthenticate ( 
	userName As String,
	password As String,
	tryApop As Boolean,
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
public:
[ObsoleteAttribute(L"Use Login/LoginAsync method instead.")]
IAsyncResult^ BeginAuthenticate(
	String^ userName, 
	String^ password, 
	bool tryApop, 
	AsyncCallback^ callback, 
	Object^ state
)
[<ObsoleteAttribute("Use Login/LoginAsync method instead.")>]
member BeginAuthenticate : 
        userName : string * 
        password : string * 
        tryApop : bool * 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
Parameters
userName (String)
User login name.
password (String)
Password.
tryApop (Boolean)
If true and POP3 server supports APOP, then APOP is used, otherwise normal login used.
callback (AsyncCallback)
Callback to call when the asynchronous operation is complete.
state (Object)
User data.
Return Value
IAsyncResult
An IAsyncResult that references the asynchronous operation.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when POP3 client is not connected or is already authenticated.

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