LumiSoft Mail Server User API
DnsCache Class
Namespaces > LumiSoft.Net.Dns.Client > DnsCache
This class implements dns query cache.
Syntax

C# | Visual Basic | Managed C++

    public class DnsCache

    Public Class DnsCache

    public ref class DnsCache

Members

All Members | Constructors | Methods | Properties | Fields | Events
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| DnsCache New() | Initializes a new instance of the DnsCache class.
| AddToCache(String, Int32, DnsServerResponse) | Adds dns records to cache. If old entry exists, it is replaced.
| CacheTime | Gets or sets how long(seconds) to cache dns query.
| ClearCache() | Clears DNS cache.
| DeSerializeCache(Byte[]()) | DeSerializes stored cache.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetFromCache(String, Int32) | Tries to get dns records from cache, if any.
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
| GetType() | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.)
| SerializeCache() | Serializes current cache.
| ToString() | Returns a String that represents the current Object. (Inherited from Object.)

Inheritance Hierarchy

Object
| DnsCache

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)