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

chenxing cxcxcxcx at gmail.com
Sat Nov 29 22:14:12 EST 2008

Petit Eric wrote:
> hum, i m not at the origin of the post, either i made a bad
> description or you don't understand, i try to say, why not include in
> the framework, code who say if we are on unix sytem with the .NET C# :
> "Environment.OSVersion.Platform = PlatformID.MacOSX" or
> "PlatformID.Unix" or ... (better a select case), parse the
> /etc/resolve file; so i didn't see an extra lib who could break
> portability of mono under windows !!?

I knew what you mean. It is a solution, but a ugly one. 

I have posted a bug 450211 and it has been FIXED in HEAD r120281.

Thanks for everyone's help and advice.
View this message in context: http://www.nabble.com/How-to-get-the-DNS-server-address--tp20733912p20754187.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list