< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Windows Name Resolution in reSIP


On 11/13/04 11:33 AM, "Scott Godin" <slgodin@xxxxxxxxxxxx> wrote:


> Does anyone know if .NET has async DNS?  I've looked around, but I can't
> seem to find any reference to it.  There is an asynchronous version of the
> GetHostByName API - but the MSDN article says that the application should
> not expect that the name will be resolved in parallel with other requests -
> so I don't think this is ideal - also this function has been deprecated
> since it does not support IP V6.
> 

Look in the Dns class in the System.Net package. It has BeginResolve and
EndResolve.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfSystemNetDnsMethodsTopic.asp