ARSoft.Tools.Net - C# DNS client/server, SPF and SenderID Library
ResolveHostAsync(IDnsResolver,DomainName,CancellationToken) Method
The resolver instance, that should be used for queries
Host name, that should be queried
The token to monitor cancellation requests
Queries a dns resolver for IP addresses of a host as an asynchronous operation.
Syntax
[System.Runtime.CompilerServices.AsyncStateMachine(ARSoft.Tools.Net.Dns.DnsResolverExtensions+d__2)] 
[System.Runtime.CompilerServices.Extension()] 
public static System.Threading.Tasks.Task<List<IPAddress>> ResolveHostAsync( 
   IDnsResolver resolver, 
   DomainName name, 
   System.Threading.CancellationToken token 
)

Parameters

resolver
The resolver instance, that should be used for queries
name
Host name, that should be queried
token
The token to monitor cancellation requests

Return Value

A list of matching host addresses
See Also

Reference

DnsResolverExtensions Class
DnsResolverExtensions Members
Overload List

 

 


© 2010-2015 Alexander Reinert. All Rights Reserved.

Send Feedback


This documentation was created using Document! X