Heijden.DNS.Resolver.BeginGetHostEntry C# (CSharp) Method

BeginGetHostEntry() public method

Asynchronously resolves a host name or IP address to an System.Net.IPHostEntry instance.
public BeginGetHostEntry ( string hostNameOrAddress, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
hostNameOrAddress string The host name or IP address to resolve.
requestCallback AsyncCallback /// An System.AsyncCallback delegate that references the method to invoke when /// the operation is complete. ///
stateObject object /// A user-defined object that contains information about the operation. This /// object is passed to the requestCallback delegate when the operation is complete. ///
return IAsyncResult
        public IAsyncResult BeginGetHostEntry(string hostNameOrAddress, AsyncCallback requestCallback, object stateObject)
        {
            GetHostEntryDelegate g = new GetHostEntryDelegate(GetHostEntry);
            return g.BeginInvoke(hostNameOrAddress, requestCallback, stateObject);
        }

Same methods

Resolver::BeginGetHostEntry ( IPAddress ip, AsyncCallback requestCallback, object stateObject ) : IAsyncResult