IAsyncPop3Client.ValidateCredentialsAsync

IAsyncPop3Client.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

True if authentication was successful, otherwise false.

See Also