C# Class System.Net.Dns

Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
BeginGetHostAddresses ( string hostNameOrAddress, AsyncCallback requestCallback, object state ) : IAsyncResult
BeginGetHostEntry ( IPAddress address, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
BeginGetHostEntry ( string hostNameOrAddress, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
EndGetHostAddresses ( IAsyncResult asyncResult ) : System.Net.IPAddress[]
EndGetHostEntry ( IAsyncResult asyncResult ) : IPHostEntry
GetHostAddresses ( string hostNameOrAddress ) : System.Net.IPAddress[]
GetHostAddressesAsync ( string hostNameOrAddress ) : System.Threading.Tasks.Task
GetHostAddressesAsync ( string hostNameOrAddress ) : Task
GetHostEntry ( IPAddress address ) : IPHostEntry
GetHostEntry ( string hostNameOrAddress ) : IPHostEntry
GetHostEntryAsync ( System address ) : System.Threading.Tasks.Task
GetHostEntryAsync ( string hostNameOrAddress ) : System.Threading.Tasks.Task
GetHostEntryAsync ( IPAddress address ) : Task
GetHostEntryAsync ( string hostNameOrAddress ) : Task

Private Methods

Method Description
BeginGetHostByName ( string hostName, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
BeginResolve ( string hostName, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
EndGetHostByName ( IAsyncResult asyncResult ) : IPHostEntry
EndResolve ( IAsyncResult asyncResult ) : IPHostEntry
GetHostByAddress ( IPAddress address ) : IPHostEntry
GetHostByAddress ( string address ) : IPHostEntry
GetHostByName ( string hostName ) : IPHostEntry
HostResolutionBeginHelper ( IPAddress address, bool flowContext, bool includeIPv6, AsyncCallback requestCallback, object state ) : IAsyncResult
HostResolutionBeginHelper ( string hostName, bool justReturnParsedIp, bool includeIPv6, bool throwOnIIPAny, AsyncCallback requestCallback, object state ) : IAsyncResult
HostResolutionEndHelper ( IAsyncResult asyncResult ) : IPHostEntry
InternalGetHostByAddress ( IPAddress address, bool includeIPv6 ) : IPHostEntry
InternalGetHostByName ( string hostName, bool includeIPv6 ) : IPHostEntry
Resolve ( string hostName ) : IPHostEntry
ResolveCallback ( object context ) : void

Method Details

BeginGetHostAddresses() public static method

public static BeginGetHostAddresses ( string hostNameOrAddress, AsyncCallback requestCallback, object state ) : IAsyncResult
hostNameOrAddress string
requestCallback AsyncCallback
state object
return IAsyncResult

BeginGetHostEntry() public static method

public static BeginGetHostEntry ( IPAddress address, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
address IPAddress
requestCallback AsyncCallback
stateObject object
return IAsyncResult

BeginGetHostEntry() public static method

public static BeginGetHostEntry ( string hostNameOrAddress, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
hostNameOrAddress string
requestCallback AsyncCallback
stateObject object
return IAsyncResult

EndGetHostAddresses() public static method

public static EndGetHostAddresses ( IAsyncResult asyncResult ) : System.Net.IPAddress[]
asyncResult IAsyncResult
return System.Net.IPAddress[]

EndGetHostEntry() public static method

public static EndGetHostEntry ( IAsyncResult asyncResult ) : IPHostEntry
asyncResult IAsyncResult
return IPHostEntry

GetHostAddresses() public static method

public static GetHostAddresses ( string hostNameOrAddress ) : System.Net.IPAddress[]
hostNameOrAddress string
return System.Net.IPAddress[]

GetHostAddressesAsync() public static method

public static GetHostAddressesAsync ( string hostNameOrAddress ) : System.Threading.Tasks.Task
hostNameOrAddress string
return System.Threading.Tasks.Task

GetHostAddressesAsync() public static method

public static GetHostAddressesAsync ( string hostNameOrAddress ) : Task
hostNameOrAddress string
return Task

GetHostEntry() public static method

public static GetHostEntry ( IPAddress address ) : IPHostEntry
address IPAddress
return IPHostEntry

GetHostEntry() public static method

public static GetHostEntry ( string hostNameOrAddress ) : IPHostEntry
hostNameOrAddress string
return IPHostEntry

GetHostEntryAsync() public static method

public static GetHostEntryAsync ( System address ) : System.Threading.Tasks.Task
address System
return System.Threading.Tasks.Task

GetHostEntryAsync() public static method

public static GetHostEntryAsync ( string hostNameOrAddress ) : System.Threading.Tasks.Task
hostNameOrAddress string
return System.Threading.Tasks.Task

GetHostEntryAsync() public static method

public static GetHostEntryAsync ( IPAddress address ) : Task
address IPAddress
return Task

GetHostEntryAsync() public static method

public static GetHostEntryAsync ( string hostNameOrAddress ) : Task
hostNameOrAddress string
return Task