IAsyncImapClient.ValidateCredentialsAsync

IAsyncImapClient.ValidateCredentialsAsync method

Executes credentials validation

public Task<bool> ValidateCredentialsAsync(IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionIConnectionConnection to a server
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also