ImapClient.ValidateCredentialsAsync

ValidateCredentialsAsync(IConnection)

Executes credentials validation

public Task<bool> ValidateCredentialsAsync(IConnection connection)
ParameterTypeDescription
connectionIConnectionConnection to a server

Return Value

Task object, with delegate for this operation

See Also


ValidateCredentialsAsync()

Executes credentials validation

public Task<bool> ValidateCredentialsAsync()

Return Value

Task object, with delegate for this operation

See Also


ValidateCredentialsAsync(IConnection, CancellationToken)

Executes credentials validation

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

Return Value

Task object, with delegate for this operation

See Also


ValidateCredentialsAsync(CancellationToken)

Executes credentials validation

public Task<bool> ValidateCredentialsAsync(CancellationToken token)
ParameterTypeDescription
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also