 | Pop3LoginPLAINAsync(String, String, CancellationToken) Method |
Logs user in using AUTHENTICATE PLAIN command. This method sends the password in clear text (BASE64), unless SSL/TLS connection is used.
Namespace: Limilabs.Client.POP3Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task LoginPLAINAsync(
string user,
string password,
CancellationToken cancel = default
)
Public Function LoginPLAINAsync (
user As String,
password As String,
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ LoginPLAINAsync(
String^ user,
String^ password,
CancellationToken cancel = CancellationToken()
)
member LoginPLAINAsync :
user : string *
password : string *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- user String
- User's login.
- password String
- User's password.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskA task that represents the asynchronous login operation.
Exceptions
See Also