RblFilterIsIPAddressInRblAsync Method |
Namespace: MailBee.AntiSpamAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> IsIPAddressInRblAsync(
string ipString,
string rblHost
)
Public Function IsIPAddressInRblAsync (
ipString As String,
rblHost As String
) As Task(Of Boolean)
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:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if this IP address is black-listed; othwerwise,
false.
Exceptions Exception | Condition |
---|
MailBeeInvalidArgumentException | ipString or rblHost is a null reference (Nothing in Visual Basic) or an empty string, or
ipString does not denote a valid IPv4 address. |
MailBeeException | Another error occurred (e.g. timeout from DNS server). |
See Also