You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
@ -1,4 +1,5 @@
|
||||
using System.Net.Security;
|
||||
using System.Net.Sockets;
|
||||
|
||||
namespace System.Net.Configuration {
|
||||
sealed class SettingsSectionInternal
|
||||
@ -16,8 +17,8 @@ namespace System.Net.Configuration {
|
||||
internal UnicodeDecodingConformance WebUtilityUnicodeDecodingConformance = UnicodeDecodingConformance.Auto;
|
||||
#endif
|
||||
|
||||
internal bool HttpListenerUnescapeRequestUrl = true;
|
||||
|
||||
internal readonly bool HttpListenerUnescapeRequestUrl = true;
|
||||
internal readonly IPProtectionLevel IPProtectionLevel = IPProtectionLevel.Unspecified;
|
||||
|
||||
internal bool UseNagleAlgorithm { get; set; }
|
||||
internal bool Expect100Continue { get; set; }
|
||||
@ -26,5 +27,20 @@ namespace System.Net.Configuration {
|
||||
internal bool EnableDnsRoundRobin { get; set; }
|
||||
internal bool CheckCertificateRevocationList { get; set; }
|
||||
internal EncryptionPolicy EncryptionPolicy { get; private set; }
|
||||
|
||||
internal bool Ipv6Enabled {
|
||||
get {
|
||||
#if CONFIGURATION_DEP && !MOBILE
|
||||
try {
|
||||
var config = (SettingsSection) System.Configuration.ConfigurationManager.GetSection ("system.net/settings");
|
||||
if (config != null)
|
||||
return config.Ipv6.Enabled;
|
||||
} catch {
|
||||
}
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user