ValidatorBaseT Class

Base implementation of a validator for SPF and SenderID records

Definition

Namespace: ARSoft.Tools.Net.Spf
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public abstract class ValidatorBase<T>
where T : SpfRecordBase
Inheritance
Object    ValidatorBaseT
Derived

Type Parameters

T
Type of the record

Properties

DnsLookupLimit The maximum number of DNS lookups allowed

Default is 20

DnsResolver DnsResolver which is used for DNS lookups

Default is a Stub DNS resolver using the local configured upstream servers

HeloDomain Domain name which was used in HELO/EHLO
LocalDomain Name of the computer validating the record

Default is the computer name

LocalIP IP address of the computer validating the record

Default is the first IP the computer

Methods

CheckHost(IPAddress, DomainName, String, Boolean) Validates the record(s)
CheckHost(IPAddress, String, String, Boolean) Validates the record(s)
CheckHostAsync(IPAddress, DomainName, String, Boolean, CancellationToken) Validates the record(s)
CheckHostAsync(IPAddress, String, String, Boolean, CancellationToken) Validates the record(s)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also