See Also

Validator Class  | Validator Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP Email Validation for .NET

DomainCacheTimeout Property

Dart.PowerTCP.EmailValidation Namespace > Validator Class : DomainCacheTimeout Property

Gets or sets the internal domain cache's timeout value (in seconds).

[Visual Basic]
<DescriptionAttribute("Gets or sets the internal domain cache's timeout value.")> <DefaultValueAttribute()> <CategoryAttribute("Configurations")> Public Property DomainCacheTimeout As Integer
[C#]
[DescriptionAttribute("Gets or sets the internal domain cache's timeout value.")] [DefaultValueAttribute()] [CategoryAttribute("Configurations")] public int DomainCacheTimeout {get; set;}
[C++]
[DescriptionAttribute("Gets or sets the internal domain cache's timeout value.")] [DefaultValueAttribute()] [CategoryAttribute("Configurations")] public: __property int get_DomainCacheTimeout(); public: __property void set_DomainCacheTimeout(    int value );
[C++/CLI]
[DescriptionAttribute("Gets or sets the internal domain cache's timeout value.")] [DefaultValueAttribute()] [CategoryAttribute("Configurations")] public: property int DomainCacheTimeout {    int get();    void set (int value); }

Return Type

Defaults to 0, which indicates that the domain cache should not be used.

Remarks

The value is in seconds.

When set to a positive value, the component will first check its domain cache before performing a DNS lookup.

Entries in the domain cache include a list of mail servers associated with a domain and a timestamp. If the DomainCacheTimeout period has not yet expired, the stored mail server will be retrieved. If the DomainCacheTimeout period has expired, or the domain is not found in the cache, a DNS lookup will take place, and the result will be stored in the cache.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

See Also

Validator Class  | Validator Members


Send comments on this topic.

Documentation version 1.0.3.0.

© 2008 Dart Communications.  All rights reserved.