[BCL,Android] Get DNS server addresses from Android
authorMarek Habersack <grendel@twistedcode.net>
Wed, 11 Jan 2017 10:34:47 +0000 (11:34 +0100)
committerMarek Habersack <grendel@twistedcode.net>
Thu, 12 Jan 2017 11:45:36 +0000 (12:45 +0100)
commitbb9981e61c009589fb16aeb9287cbb17f26db533
treead8952401ecb84df77acca65cbac27e40ce94849
parentf0156ef4cd358c29f29c3ba6332013d3546e4f04
[BCL,Android] Get DNS server addresses from Android

This change implements retrieving a list of DNS server addresses from Android
instead of attempting to parse `/etc/resolv.conf` which doesn't exist on
Android.
The list is retrieved by calling native function in Xamarin.Android that gets
the data from the system.

Part 2 of fix for https://bugzilla.xamarin.com/show_bug.cgi?id=48016
mcs/class/System/System.Net.NetworkInformation/IPInterfaceProperties.cs