LumiSoft Net Help
DnsCache Class
NamespacesLumiSoft.Net.DNS.ClientDnsCache
This class implements dns query cache.
Declaration Syntax
C#Visual BasicVisual C++F#
[ObsoleteAttribute("Use DNS_Client.Cache instead.")]
public class DnsCache
<ObsoleteAttribute("Use DNS_Client.Cache instead.")>
Public Class DnsCache
[ObsoleteAttribute(L"Use DNS_Client.Cache instead.")]
public ref class DnsCache
[<ObsoleteAttribute("Use DNS_Client.Cache instead.")>]
type DnsCache =  class end
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DnsCache()()()()
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(array<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 try to free resources and perform other cleanup operations before it 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.
(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 (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119