DnsResolverExtensionsResolveHost(IDnsResolver, String) Method
Queries a dns resolver for IP addresses of a host.
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public static List<IPAddress> ResolveHost(
this IDnsResolver resolver,
string name
)
<ExtensionAttribute>
Public Shared Function ResolveHost (
resolver As IDnsResolver,
name As String
) As List(Of IPAddress)
public:
[ExtensionAttribute]
static List<IPAddress^>^ ResolveHost(
IDnsResolver^ resolver,
String^ name
)
[<ExtensionAttribute>]
static member ResolveHost :
resolver : IDnsResolver *
name : string -> List<IPAddress>
- resolver IDnsResolver
- The resolver instance, that should be used for queries
- name String
- Host name, that should be queried
ListIPAddress A list of matching host addresses In Visual Basic and C#, you can call this method as an instance method on any object of type
IDnsResolver. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).