You can use the System.Management classes to get this info from the
Win32_NetworkAdapterConfiguration WMI class

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf
Of
> dave wanta
> Sent: Saturday, May 04, 2002 10:52 AM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] DNS servers
>
> hi all,
> Does anyone know how to retrieve the list of DNS servers that come up
when
> you call the command ipconfig /all ?
>
> I need to do this in .NET, without calling any other programs (cmd.exe
or
> ipconfig.exe).
>
>
> Thanks,
> dave
>
> You can read messages from the DOTNET archive, unsubscribe from
DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to