Dns
BeginGetHostAddresses(String, AsyncCallback, Object)
BeginGetHostByName(String, AsyncCallback, Object)
BeginGetHostEntry(IPAddress, AsyncCallback, Object)
BeginGetHostEntry(String, AsyncCallback, Object)
BeginResolve(String, AsyncCallback, Object)
EndGetHostAddresses(IAsyncResult)
EndGetHostByName(IAsyncResult)
EndGetHostEntry(IAsyncResult)
EndResolve(IAsyncResult)
GetHostAddresses(String)
GetHostAddresses(String, AddressFamily)
GetHostAddressesAsync(String)
GetHostAddressesAsync(String, CancellationToken)
GetHostAddressesAsync(String, AddressFamily, CancellationToken)
GetHostByAddress(IPAddress)
GetHostByAddress(String)
GetHostByName(String)
GetHostEntry(IPAddress)
GetHostEntry(String)
GetHostEntry(String, AddressFamily)
GetHostEntryAsync(IPAddress)
GetHostEntryAsync(String)
GetHostEntryAsync(String, CancellationToken)
GetHostEntryAsync(String, AddressFamily, CancellationToken)
GetHostName()
Resolve(String)
net11.0-windows7.0
namespace System.Net
{
public static class Dns
{
[Obsolete("GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static IPHostEntry GetHostByAddress(IPAddress address);
}
}
| NetFx Compat Lab | 0.8 % Reference this API |
|---|---|
| Upgrade Planner | 0.0 % Reference this API |
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | System.Net.NameResolution , Version=4.1.1.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Obsolete | GetHostByAddress is obsoleted for this type, please use GetHostEntry instead. https://go.microsoft.com/fwlink/?linkid=14202 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API