This class implements dns query cache.
| C# | Visual Basic | Managed C++ |
public class DnsCache
Public Class DnsCache
public ref class DnsCache
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| DnsCacheNew() | 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) | (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() | (Inherited from Object.) |
| Object | |
| DnsCache | |
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)