IAsyncPop3Client.ValidateCredentialsAsync
IAsyncPop3Client.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
True if authentication was successful, otherwise false.
See Also
- interface IConnection
- interface IAsyncPop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email