1 using System.Net.Security;
2 using System.Net.Sockets;
4 namespace System.Net.Configuration {
5 sealed class SettingsSectionInternal
7 static readonly SettingsSectionInternal instance = new SettingsSectionInternal ();
9 internal static SettingsSectionInternal Section {
16 internal UnicodeEncodingConformance WebUtilityUnicodeEncodingConformance = UnicodeEncodingConformance.Auto;
17 internal UnicodeDecodingConformance WebUtilityUnicodeDecodingConformance = UnicodeDecodingConformance.Auto;
20 internal readonly bool HttpListenerUnescapeRequestUrl = true;
21 internal readonly IPProtectionLevel IPProtectionLevel = IPProtectionLevel.Unspecified;
23 internal bool UseNagleAlgorithm { get; set; }
24 internal bool Expect100Continue { get; set; }
25 internal bool CheckCertificateName { get; private set; }
26 internal int DnsRefreshTimeout { get; set; }
27 internal bool EnableDnsRoundRobin { get; set; }
28 internal bool CheckCertificateRevocationList { get; set; }
29 internal EncryptionPolicy EncryptionPolicy { get; private set; }
31 internal bool Ipv6Enabled {
33 #if CONFIGURATION_DEP && !MOBILE
35 var config = (SettingsSection) System.Configuration.ConfigurationManager.GetSection ("system.net/settings");
37 return config.Ipv6.Enabled;