SIPSorcery.Net.DNSManager.Lookup C# (CSharp) Méthode

Lookup() public static méthode

This method will wait until either the lookup completes or the timeout is reached before returning.
public static Lookup ( string hostname, DNSQType queryType, int timeout, List dnsServers ) : Heijden.DNS.DNSResponse
hostname string The hostname of the A record to lookup in DNS.
queryType DNSQType
timeout int Timeout in seconds for the lookup.
dnsServers List
Résultat Heijden.DNS.DNSResponse
        public static DNSResponse Lookup(string hostname, DNSQType queryType, int timeout, List<IPEndPoint> dnsServers)
        {
            return Lookup(hostname, queryType, timeout, dnsServers, true, false);
        }

Same methods

DNSManager::Lookup ( string hostname, DNSQType queryType, int timeout, List dnsServers, bool useCache, bool async ) : Heijden.DNS.DNSResponse