Authenticates user.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use Login/LoginAsync method instead.")] public void Authenticate( string userName, string password, bool tryApop )
<ObsoleteAttribute("Use Login/LoginAsync method instead.")> Public Sub Authenticate ( userName As String, password As String, tryApop As Boolean )
public: [ObsoleteAttribute(L"Use Login/LoginAsync method instead.")] void Authenticate( String^ userName, String^ password, bool tryApop )
[<ObsoleteAttribute("Use Login/LoginAsync method instead.")>] member Authenticate : userName : string * password : string * tryApop : bool -> unit
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
InvalidOperationException | Is raised when POP3 client is not connected or is already authenticated. |
POP3_ClientException | Is raised when POP3 server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119