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

William Huskey william.huskey at gmail.com
Sat Nov 29 11:19:12 EST 2008


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

On Sat, Nov 29, 2008 at 12:52 AM, chenxing <cxcxcxcx at gmail.com> wrote:

>
> Thanks very much for everyone's advice.
>
> Combining Environment.OSVersion and /etc/resolv.conf is a solution, but not
> beautiful~ It would be better if Mono can implement it in a better way.
>
> BTW, I have read LumiSoft's source code, and found that they use the same
> methods as my first post, which would not work in mono+linux.
>
> --
> View this message in context:
> http://www.nabble.com/How-to-get-the-DNS-server-address--tp20733912p20745121.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>



-- 
William S. Huskey

UNIX Systems Engineer

Maritime Systems Solutions Division

SAIC

Tel: 425-267-5643

Email: huskeyw at saic.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20081129/60ab4f93/attachment-0001.html 


More information about the Mono-list mailing list