IAsyncImapClient.ValidateCredentialsAsync
IAsyncImapClient.ValidateCredentialsAsync method
Executes credentials validation
public Task<bool> ValidateCredentialsAsync(IConnection connection = null,
CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- interface IAsyncImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email