#endif
};
static readonly string PingBinPath;
+ static bool canSendPrivileged;
#endif
const int default_timeout = 4000; // 4 sec.
ushort identifier;
const UInt32 linux_cap_version = 0x20071026;
static readonly byte [] default_buffer = new byte [0];
- static bool canSendPrivileged;
BackgroundWorker worker;
internal static class Platform {
static bool checkedOS;
static bool isMacOS;
- static bool isFreeBSD;
#if MONOTOUCH || XAMMAC
+ const bool isFreeBSD = false;
+
private static void CheckOS() {
isMacOS = true;
checkedOS = true;
}
#else
+ static bool isFreeBSD;
+
[DllImport ("libc")]
static extern int uname (IntPtr buf);
var data = AndroidPlatform.GetDefaultProxy ();
if (data != null)
return data;
+
+ return new WebProxy (true);
#else
if (Platform.IsMacOS) {
var data = Mono.Net.CFNetwork.GetDefaultProxy ();
if (data != null)
return data;
}
-#endif
return new WebProxy (true);
+#endif
}
#endif