LumiSoft Net Help
GetFromCache Method (qname, qtype)
Namespaces ► LumiSoft.Net.DNS.Client ► DNS_ClientCache ► GetFromCache(String, Int32)
Gets DNS server cached response or null if no cached result.
Declaration Syntax

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

    public DnsServerResponse GetFromCache(
    	string qname,
    	int qtype
    )

    Public Function GetFromCache (
    	qname As String,
    	qtype As Integer
    ) As DnsServerResponse

    public:
    DnsServerResponse^ GetFromCache(
    	String^ qname,
    	int qtype
    )

    member GetFromCache :
            qname : string *
            qtype : int -> DnsServerResponse

Parameters

qname (String)
  Query name.

qtype (Int32)
  Query type.

Return Value
DnsServerResponse
Returns DNS server cached response or null if no cached result.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when qname 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