net\System\Net\Configuration\HttpCachePolicyElement.cs (8)
33[ConfigurationProperty(ConfigurationStrings.MaximumAge, DefaultValue = TimeSpanValidatorAttribute.TimeSpanMaxValue)]
40[ConfigurationProperty(ConfigurationStrings.MaximumStale, DefaultValue = TimeSpanValidatorAttribute.TimeSpanMinValue)]
47[ConfigurationProperty(ConfigurationStrings.MinimumFresh, DefaultValue = TimeSpanValidatorAttribute.TimeSpanMinValue)]
54[ConfigurationProperty(ConfigurationStrings.PolicyLevel, IsRequired = true, DefaultValue = (HttpRequestCacheLevel) HttpRequestCacheLevel.Default)]
87new ConfigurationProperty(ConfigurationStrings.MaximumAge, typeof(TimeSpan), TimeSpan.MaxValue,
91new ConfigurationProperty(ConfigurationStrings.MaximumStale, typeof(TimeSpan), TimeSpan.MinValue,
95new ConfigurationProperty(ConfigurationStrings.MinimumFresh, typeof(TimeSpan), TimeSpan.MinValue,
99new ConfigurationProperty(ConfigurationStrings.PolicyLevel, typeof(HttpRequestCacheLevel), HttpRequestCacheLevel.Default,
net\System\Net\Configuration\HttpListenerTimeoutsElement.cs (12)
18entityBody = CreateTimeSpanProperty(ConfigurationStrings.EntityBody);
19drainEntityBody = CreateTimeSpanProperty(ConfigurationStrings.DrainEntityBody);
20requestQueue = CreateTimeSpanProperty(ConfigurationStrings.RequestQueue);
21idleConnection = CreateTimeSpanProperty(ConfigurationStrings.IdleConnection);
22headerWait = CreateTimeSpanProperty(ConfigurationStrings.HeaderWait);
24minSendBytesPerSecond = new ConfigurationProperty(ConfigurationStrings.MinSendBytesPerSecond,
42[ConfigurationProperty(ConfigurationStrings.EntityBody, DefaultValue = 0, IsRequired = false)]
48[ConfigurationProperty(ConfigurationStrings.DrainEntityBody, DefaultValue = 0, IsRequired = false)]
54[ConfigurationProperty(ConfigurationStrings.RequestQueue, DefaultValue = 0, IsRequired = false)]
60[ConfigurationProperty(ConfigurationStrings.IdleConnection, DefaultValue = 0, IsRequired = false)]
66[ConfigurationProperty(ConfigurationStrings.HeaderWait, DefaultValue = 0, IsRequired = false)]
72[ConfigurationProperty(ConfigurationStrings.MinSendBytesPerSecond, DefaultValue = 0L, IsRequired = false)]
net\System\Net\Configuration\RequestCachingSection.cs (14)
27[ConfigurationProperty(ConfigurationStrings.DefaultHttpCachePolicy)]
33[ConfigurationProperty(ConfigurationStrings.DefaultFtpCachePolicy)]
39[ConfigurationProperty(ConfigurationStrings.DefaultPolicyLevel, DefaultValue=(RequestCacheLevel) RequestCacheLevel.BypassCache)]
47[ConfigurationProperty(ConfigurationStrings.DisableAllCaching, DefaultValue=false)]
57[ConfigurationProperty(ConfigurationStrings.IsPrivateCache, DefaultValue=true)]
64[ConfigurationProperty(ConfigurationStrings.UnspecifiedMaximumAge, DefaultValue = "1.00:00:00")]
98ConfigurationStrings.RequestCachingSectionName),
111new ConfigurationProperty(ConfigurationStrings.DefaultHttpCachePolicy,
117new ConfigurationProperty(ConfigurationStrings.DefaultFtpCachePolicy,
123new ConfigurationProperty(ConfigurationStrings.DefaultPolicyLevel,
130new ConfigurationProperty(ConfigurationStrings.DisableAllCaching,
142new ConfigurationProperty(ConfigurationStrings.IsPrivateCache,
148new ConfigurationProperty(ConfigurationStrings.UnspecifiedMaximumAge,
290RequestCachingSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.RequestCachingSectionPath) as RequestCachingSection;
net\System\Net\Configuration\ServicePointManagerElement.cs (16)
36ElementInformation.Properties[ConfigurationStrings.CheckCertificateName],
37ElementInformation.Properties[ConfigurationStrings.CheckCertificateRevocationList]
54[ConfigurationProperty(ConfigurationStrings.CheckCertificateName, DefaultValue = true)]
61[ConfigurationProperty(ConfigurationStrings.CheckCertificateRevocationList, DefaultValue = false)]
68[ConfigurationProperty(ConfigurationStrings.DnsRefreshTimeout, DefaultValue = (int)( 2 * 60 * 1000))]
75[ConfigurationProperty(ConfigurationStrings.EnableDnsRoundRobin, DefaultValue = false)]
82[ConfigurationProperty(ConfigurationStrings.EncryptionPolicy, DefaultValue = EncryptionPolicy.RequireEncryption)]
89[ConfigurationProperty(ConfigurationStrings.Expect100Continue, DefaultValue = true)]
96[ConfigurationProperty(ConfigurationStrings.UseNagleAlgorithm, DefaultValue=true)]
114new ConfigurationProperty(ConfigurationStrings.CheckCertificateName,
120new ConfigurationProperty(ConfigurationStrings.CheckCertificateRevocationList,
126new ConfigurationProperty(ConfigurationStrings.DnsRefreshTimeout,
133new ConfigurationProperty(ConfigurationStrings.EnableDnsRoundRobin,
139new ConfigurationProperty(ConfigurationStrings.EncryptionPolicy,
145new ConfigurationProperty(ConfigurationStrings.Expect100Continue,
151new ConfigurationProperty(ConfigurationStrings.UseNagleAlgorithm,
net\System\Net\Configuration\SettingsSection.cs (20)
54[ConfigurationProperty(ConfigurationStrings.HttpWebRequest)]
60[ConfigurationProperty(ConfigurationStrings.Ipv6)]
66[ConfigurationProperty(ConfigurationStrings.ServicePointManager)]
72[ConfigurationProperty(ConfigurationStrings.Socket)]
78[ConfigurationProperty(ConfigurationStrings.WebProxyScript)]
85[ConfigurationProperty(ConfigurationStrings.PerformanceCounters)]
91[ConfigurationProperty(ConfigurationStrings.HttpListener)]
97[ConfigurationProperty(ConfigurationStrings.WebUtility)]
103[ConfigurationProperty(ConfigurationStrings.WindowsAuthentication)]
117new ConfigurationProperty(ConfigurationStrings.HttpWebRequest, typeof(HttpWebRequestElement), null,
121new ConfigurationProperty(ConfigurationStrings.Ipv6, typeof(Ipv6Element), null,
125new ConfigurationProperty(ConfigurationStrings.ServicePointManager, typeof(ServicePointManagerElement), null,
129new ConfigurationProperty(ConfigurationStrings.Socket, typeof(SocketElement), null,
133new ConfigurationProperty(ConfigurationStrings.WebProxyScript, typeof(WebProxyScriptElement), null,
137new ConfigurationProperty(ConfigurationStrings.PerformanceCounters, typeof(PerformanceCountersElement), null,
141new ConfigurationProperty(ConfigurationStrings.HttpListener, typeof(HttpListenerElement), null,
145new ConfigurationProperty(ConfigurationStrings.WebUtility, typeof(WebUtilityElement), null,
149new ConfigurationProperty(ConfigurationStrings.WindowsAuthentication, typeof(WindowsAuthenticationElement), null,
201s_settings = new SettingsSectionInternal((SettingsSection) PrivilegedConfigurationManager.GetSection(ConfigurationStrings.SettingsSectionPath));
225return new SettingsSectionInternal((SettingsSection) PrivilegedConfigurationManager.GetSection(ConfigurationStrings.SettingsSectionPath));
net\System\Net\Configuration\SmtpNetworkElement.cs (17)
37PropertyInformation portPropertyInfo = ElementInformation.Properties[ConfigurationStrings.Port];
61[ConfigurationProperty(ConfigurationStrings.DefaultCredentials, DefaultValue = false)]
68[ConfigurationProperty(ConfigurationStrings.Host)]
75[ConfigurationProperty(ConfigurationStrings.TargetName)]
82[ConfigurationProperty(ConfigurationStrings.ClientDomain)]
89[ConfigurationProperty(ConfigurationStrings.Password)]
96[ConfigurationProperty(ConfigurationStrings.Port, DefaultValue = 25)]
107[ConfigurationProperty(ConfigurationStrings.UserName)]
114[ConfigurationProperty(ConfigurationStrings.EnableSsl, DefaultValue = false)]
129new ConfigurationProperty(ConfigurationStrings.DefaultCredentials, typeof(bool), false,
133new ConfigurationProperty(ConfigurationStrings.Host, typeof(string), null,
137new ConfigurationProperty(ConfigurationStrings.ClientDomain, typeof(string), null,
141new ConfigurationProperty(ConfigurationStrings.Password, typeof(string), null,
145new ConfigurationProperty(ConfigurationStrings.Port, typeof(int), 25,
149new ConfigurationProperty(ConfigurationStrings.UserName, typeof(string), null,
153new ConfigurationProperty(ConfigurationStrings.TargetName, typeof(string), null, ConfigurationPropertyOptions.None);
156new ConfigurationProperty(ConfigurationStrings.EnableSsl, typeof(bool), false,
net\System\Net\Configuration\SmtpSection.cs (11)
30[ConfigurationProperty(ConfigurationStrings.DeliveryMethod, DefaultValue = (SmtpDeliveryMethod) SmtpDeliveryMethod.Network)]
41[ConfigurationProperty(ConfigurationStrings.DeliveryFormat,
53[ConfigurationProperty(ConfigurationStrings.From)]
61[ConfigurationProperty(ConfigurationStrings.Network)]
69[ConfigurationProperty(ConfigurationStrings.SpecifiedPickupDirectory)]
93new ConfigurationProperty(ConfigurationStrings.From, typeof(string), null,
97new ConfigurationProperty(ConfigurationStrings.Network, typeof(SmtpNetworkElement), null,
101new ConfigurationProperty(ConfigurationStrings.SpecifiedPickupDirectory, typeof(SmtpSpecifiedPickupDirectoryElement), null,
105new ConfigurationProperty(ConfigurationStrings.DeliveryMethod, typeof(SmtpDeliveryMethod), SmtpDeliveryMethod.Network, new SmtpDeliveryMethodTypeConverter(), null,
109= new ConfigurationProperty(ConfigurationStrings.DeliveryFormat, typeof(SmtpDeliveryFormat),
225SmtpSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.SmtpSectionPath) as SmtpSection;
net\System\Net\Configuration\SocketElement.cs (7)
36ConfigurationStrings.Socket),
41[ConfigurationProperty(ConfigurationStrings.AlwaysUseCompletionPortsForAccept, DefaultValue = false)]
48[ConfigurationProperty(ConfigurationStrings.AlwaysUseCompletionPortsForConnect, DefaultValue = false)]
55[ConfigurationProperty(ConfigurationStrings.IPProtectionLevel, DefaultValue = IPProtectionLevel.Unspecified)]
73new ConfigurationProperty(ConfigurationStrings.AlwaysUseCompletionPortsForConnect, typeof(bool), false,
77new ConfigurationProperty(ConfigurationStrings.AlwaysUseCompletionPortsForAccept, typeof(bool), false,
81new ConfigurationProperty(ConfigurationStrings.IPProtectionLevel, typeof(IPProtectionLevel),
net\System\Net\Configuration\WebUtilityElement.cs (4)
17new ConfigurationProperty(ConfigurationStrings.UnicodeDecodingConformance, typeof(UnicodeDecodingConformance), UnicodeDecodingConformance.Auto, new EnumTypeConverter<UnicodeDecodingConformance>(), null,
21new ConfigurationProperty(ConfigurationStrings.UnicodeEncodingConformance, typeof(UnicodeEncodingConformance), UnicodeEncodingConformance.Auto, new EnumTypeConverter<UnicodeEncodingConformance>(), null,
31[ConfigurationProperty(ConfigurationStrings.UnicodeDecodingConformance, DefaultValue = UnicodeDecodingConformance.Auto)]
41[ConfigurationProperty(ConfigurationStrings.UnicodeEncodingConformance, DefaultValue = UnicodeEncodingConformance.Auto)]