[Mono-list] How to get the DNS server address?

chenxing cxcxcxcx at gmail.com
Sat Nov 29 12:39:33 EST 2008




William Huskey wrote:
> 
> the problem is that if mono did it in a better way, it would not work on
> windows.. because .Net does not do it that way. so you have to give up
> some
> cross platform.  that is unless you use mono on windows..
> but as long as a Mono is a implementation of .net on Unix/Linux it will
> follow the way of MicroSoft .Net
> 
> Sorry
> 
> 

I don't think so. They doesn't conflict. In Windows, the function returns
the DNS Server Address registered to the corresponding Network Interface,
and in Linux, the function can return the collection of DNS Server Addresses
registered to system, because they are used by each Network Interface in
fact.

BTW, I have posted a bug and it is assigned now.
-- 
View this message in context: http://www.nabble.com/How-to-get-the-DNS-server-address--tp20733912p20749433.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list