Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Net Namespace
Please Wait
Dns Class
Please Wait
Dns Members
Switch on low bandwidth view
Collapse All
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
Dns Members
Provides simple domain name resolution functionality.
The
Dns
type exposes the following members.
Methods
Name
Description
BeginGetHostAddresses
Asynchronously returns the Internet Protocol (IP) addresses for the specified host.
BeginGetHostByName
Obsolete.
Begins an asynchronous request for
IPHostEntry
information about the specified DNS host name.
BeginGetHostEntry
Overloaded.
Asynchronously resolves a host name or IP address to an
IPHostEntry
instance.
BeginResolve
Obsolete.
Begins an asynchronous request to resolve a DNS host name or IP address to an
IPAddress
instance.
EndGetHostAddresses
Ends an asynchronous request for DNS information.
EndGetHostByName
Obsolete.
Ends an asynchronous request for DNS information.
EndGetHostEntry
Ends an asynchronous request for DNS information.
EndResolve
Obsolete.
Ends an asynchronous request for DNS information.
GetHostAddresses
Returns the Internet Protocol (IP) addresses for the specified host.
GetHostByAddress
Overloaded.
Gets DNS host information for an IP address. These methods are now obsolete.
GetHostByName
Obsolete.
Gets the DNS information for the specified DNS host name.
GetHostEntry
Overloaded.
Resolves a host name or IP address to an
IPHostEntry
instance.
GetHostName
Gets the host name of the local computer.
Resolve
Obsolete.
Resolves a DNS host name or IP address to an
IPHostEntry
instance.
Top
See Also
Reference
Dns Class
System.Net Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement