 | SmtpLoginSSPIAsync(CancellationToken) Method |
Logs user in using
Negotiate mechanism. Target will be constructed as "smtp/" + TargetHost name.
Namespace: Limilabs.Client.SMTPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task LoginSSPIAsync(
CancellationToken cancel = default
)
Public Function LoginSSPIAsync (
Optional cancel As CancellationToken = Nothing
) As Task
public:
Task^ LoginSSPIAsync(
CancellationToken cancel = CancellationToken()
)
member LoginSSPIAsync :
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task Parameters
- 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