LumiSoft Mail Server User API
DnsCache Class
Namespaces > LumiSoft.Net.Dns.Client > DnsCache
This class implements dns query cache.
Syntax
C#Visual BasicManaged C++
public class DnsCache
Public Class DnsCache
public ref class DnsCache
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
DnsCacheNew()
Initializes a new instance of the DnsCache class.
static memberAddToCache(String, Int32, DnsServerResponse)
Adds dns records to cache. If old entry exists, it is replaced.
static memberCacheTime
Gets or sets how long(seconds) to cache dns query.
static memberClearCache()
Clears DNS cache.
static memberDeSerializeCache(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.)
static memberGetFromCache(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.)
static memberSerializeCache()
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)