Export (0) Print
Expand All

Dns Methods

The methods of the Dns class are listed here. For a complete list of Dns class members, see the Dns Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)BeginGetHostByName

Supported by the .NET Compact Framework.

Begins an asynchronous request for IPHostEntry information about the specified DNS host name.
public methodstatic (Shared in Visual Basic)BeginResolve

Supported by the .NET Compact Framework.

Begins an asynchronous request to resolve a DNS host name or IP address to an IPAddress instance.
public methodstatic (Shared in Visual Basic)EndGetHostByName

Supported by the .NET Compact Framework.

Ends an asynchronous request for DNS information.
public methodstatic (Shared in Visual Basic)EndResolve

Supported by the .NET Compact Framework.

Ends an asynchronous request for DNS information.
public methodstatic (Shared in Visual Basic)GetHostByAddress

Supported by the .NET Compact Framework.

Overloaded. Gets DNS host information for an IP address.
public methodstatic (Shared in Visual Basic)GetHostByName

Supported by the .NET Compact Framework.

Gets the DNS information for the specified DNS host name.
public methodstatic (Shared in Visual Basic)GetHostName

Supported by the .NET Compact Framework.

Gets the host name of the local computer.
public methodstatic (Shared in Visual Basic)Resolve

Supported by the .NET Compact Framework.

Resolves a DNS host name or IP address to an IPHostEntry instance.

See Also

Dns Class | System.Net Namespace

Show:
© 2014 Microsoft