메소드 | 설명 | |
---|---|---|
AddToCache ( string qname, int qtype, |
Adds dns records to cache. If old entry exists, it is replaced.
|
|
ClearCache ( ) : void |
Clears DNS cache.
|
|
DeSerializeCache ( byte cacheData ) : void |
DeSerializes stored cache.
|
|
GetFromCache ( string qname, int qtype ) : |
Tries to get dns records from cache, if any.
|
|
SerializeCache ( ) : byte[] |
Serializes current cache.
|
메소드 | 설명 | |
---|---|---|
DnsCache ( ) : System |
Default constructor.
|
public static AddToCache ( string qname, int qtype, |
||
qname | string | |
qtype | int | |
answers | ||
리턴 | void |
public static DeSerializeCache ( byte cacheData ) : void | ||
cacheData | byte | This value must be DnsCache.SerializeCache() method value. |
리턴 | void |
public static GetFromCache ( string qname, int qtype ) : |
||
qname | string | |
qtype | int | |
리턴 |