RblFilterIsIPAddressInRblAsync Method
async/await version of IsIPAddressInRbl(String, String).

Namespace: MailBee.AntiSpam
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Task<bool> IsIPAddressInRblAsync(
	string ipString,
	string rblHost
)

Parameters

ipString
Type: SystemString
The IPv4 address to check, as "11.22.33.44" string.
rblHost
Type: SystemString
The DNS RBL host name.

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if this IP address is black-listed; othwerwise, false.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionipString or rblHost is a null reference (Nothing in Visual Basic) or an empty string, or ipString does not denote a valid IPv4 address.
MailBeeExceptionAnother error occurred (e.g. timeout from DNS server).
See Also