You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@@ -46,6 +46,8 @@ namespace System.Net.NetworkInformation {
|
||||
{
|
||||
#if MONODROID
|
||||
return new AndroidIPGlobalProperties ();
|
||||
#elif MONOTOUCH || XAMMAC || MOBILE_STATIC
|
||||
return new UnixIPGlobalProperties ();
|
||||
#else
|
||||
switch (Environment.OSVersion.Platform) {
|
||||
case PlatformID.Unix:
|
||||
@@ -190,6 +192,7 @@ namespace System.Net.NetworkInformation {
|
||||
}
|
||||
}
|
||||
|
||||
#if MONODROID
|
||||
sealed class AndroidIPGlobalProperties : UnixIPGlobalProperties
|
||||
{
|
||||
public override string DomainName {
|
||||
@@ -198,6 +201,7 @@ namespace System.Net.NetworkInformation {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// It expects /proc/net/snmp (or /usr/compat/linux/proc/net/snmp),
|
||||
// formatted like:
|
||||
@@ -403,6 +407,7 @@ namespace System.Net.NetworkInformation {
|
||||
}
|
||||
}
|
||||
|
||||
#if !MOBILE
|
||||
class Win32IPGlobalProperties : IPGlobalProperties
|
||||
{
|
||||
public const int AF_INET = 2;
|
||||
@@ -736,4 +741,5 @@ namespace System.Net.NetworkInformation {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user