LumiSoft Net Help
AddToCache Method (qname, qtype, response)
Namespaces ► LumiSoft.Net.DNS.Client ► DNS_ClientCache ► AddToCache(String, Int32, DnsServerResponse)
Adds dns records to cache. If old entry exists, it is replaced.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void AddToCache(
    	string qname,
    	int qtype,
    	DnsServerResponse response
    )

    Public Sub AddToCache (
    	qname As String,
    	qtype As Integer,
    	response As DnsServerResponse
    )

    public:
    void AddToCache(
    	String^ qname,
    	int qtype,
    	DnsServerResponse^ response
    )

    member AddToCache :
            qname : string *
            qtype : int *
            response : DnsServerResponse -> unit

Parameters

qname (String)
  Query name.

qtype (Int32)
  Query type.

response (DnsServerResponse)
  DNS server response.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when qname or response is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119