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
Return Value
DnsServerResponse
Returns DNS server cached response or null if no cached result.
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