213 references to ConfigurationStrings
System (213)
net\System\Net\_SSPIWrapper.cs (1)
87$"{nameof(InitDefaultCredentialsHandleCache)}: {System.Net.Configuration.ConfigurationStrings.DefaultCredentialsHandleCacheSize} = {s_DefaultCredentialsHandleCacheSize}");
net\System\Net\Configuration\AuthenticationModuleElement.cs (2)
37[ConfigurationProperty(ConfigurationStrings.Type, IsRequired=true, IsKey = true)] 52new ConfigurationProperty(ConfigurationStrings.Type,
net\System\Net\Configuration\AuthenticationModulesSection.cs (2)
34ConfigurationStrings.AuthenticationModulesSectionName), 136AuthenticationModulesSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.AuthenticationModulesSectionPath) as AuthenticationModulesSection;
net\System\Net\Configuration\BypassElement.cs (2)
34[ConfigurationProperty(ConfigurationStrings.Address, IsRequired=true, IsKey = true)] 49new ConfigurationProperty(ConfigurationStrings.Address, typeof(string), null,
net\System\Net\Configuration\ConfigurationStrings.cs (17)
16return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName); 21return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}/{2}", ConfigurationStrings.SectionGroupName, sectionName, subSectionName); 26get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.AuthenticationModulesSectionName); } 31get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.ConnectionManagementSectionName); } 36get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.DefaultProxySectionName); } 41get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.MailSettingsSectionName, ConfigurationStrings.SmtpSectionName); } 46get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.RequestCachingSectionName); } 51get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.SettingsSectionName); } 56get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.WebRequestModulesSectionName); }
net\System\Net\Configuration\ConnectionManagementElement.cs (4)
36[ConfigurationProperty(ConfigurationStrings.Address, IsRequired=true, IsKey = true)] 43[ConfigurationProperty(ConfigurationStrings.MaxConnection, IsRequired=true, DefaultValue=(int)1)] 58new ConfigurationProperty(ConfigurationStrings.Address, 65new ConfigurationProperty(ConfigurationStrings.MaxConnection,
net\System\Net\Configuration\ConnectionManagementSection.cs (1)
81ConnectionManagementSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.ConnectionManagementSectionPath) as ConnectionManagementSection;
net\System\Net\Configuration\DefaultProxySection.cs (12)
44ConfigurationStrings.DefaultProxySectionName), 49[ConfigurationProperty(ConfigurationStrings.BypassList)] 55[ConfigurationProperty(ConfigurationStrings.Module)] 66[ConfigurationProperty(ConfigurationStrings.Proxy)] 72[ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue = true)] 79[ConfigurationProperty(ConfigurationStrings.UseDefaultCredentials, DefaultValue = false)] 89new ConfigurationProperty(ConfigurationStrings.BypassList, 95new ConfigurationProperty(ConfigurationStrings.Module, 101new ConfigurationProperty(ConfigurationStrings.Proxy, 107new ConfigurationProperty(ConfigurationStrings.Enabled, 113new ConfigurationProperty(ConfigurationStrings.UseDefaultCredentials, 295DefaultProxySection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.DefaultProxySectionPath) as DefaultProxySection;
net\System\Net\Configuration\FtpCachePolicyElement.cs (2)
30[ConfigurationProperty(ConfigurationStrings.PolicyLevel, DefaultValue = RequestCacheLevel.Default)] 63new ConfigurationProperty(ConfigurationStrings.PolicyLevel, typeof(RequestCacheLevel), RequestCacheLevel.Default, ConfigurationPropertyOptions.None);
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\HttpListenerElement.cs (4)
24unescapeRequestUrl = new ConfigurationProperty(ConfigurationStrings.UnescapeRequestUrl, typeof(bool), 27timeouts = new ConfigurationProperty(ConfigurationStrings.Timeouts, typeof(HttpListenerTimeoutsElement), null, 35[ConfigurationProperty(ConfigurationStrings.UnescapeRequestUrl, DefaultValue = UnescapeRequestUrlDefaultValue, 42[ConfigurationProperty(ConfigurationStrings.Timeouts)]
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\HttpWebRequestElement.cs (10)
32ElementInformation.Properties[ConfigurationStrings.MaximumResponseHeadersLength], 33ElementInformation.Properties[ConfigurationStrings.MaximumErrorResponseLength] 59[ConfigurationProperty(ConfigurationStrings.maximumUnauthorizedUploadLength, DefaultValue=(int)(-1))] 66[ConfigurationProperty(ConfigurationStrings.MaximumErrorResponseLength, DefaultValue=(int)(64))] 74[ConfigurationProperty(ConfigurationStrings.MaximumResponseHeadersLength, DefaultValue= 64)] 81[ConfigurationProperty(ConfigurationStrings.UseUnsafeHeaderParsing, DefaultValue= false)] 91new ConfigurationProperty(ConfigurationStrings.MaximumResponseHeadersLength, 97new ConfigurationProperty(ConfigurationStrings.MaximumErrorResponseLength, 103new ConfigurationProperty(ConfigurationStrings.maximumUnauthorizedUploadLength, 109new ConfigurationProperty(ConfigurationStrings.UseUnsafeHeaderParsing,
net\System\Net\Configuration\Ipv6Element.cs (2)
29[ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue = false)] 39new ConfigurationProperty(ConfigurationStrings.Enabled, typeof(bool), false,
net\System\Net\Configuration\ModuleElement.cs (2)
29[ConfigurationProperty(ConfigurationStrings.Type)] 39new ConfigurationProperty(ConfigurationStrings.Type,
net\System\Net\Configuration\NetSectionGroup.cs (14)
19[ConfigurationProperty(ConfigurationStrings.AuthenticationModulesSectionName)] 22get { return (AuthenticationModulesSection)Sections[ConfigurationStrings.AuthenticationModulesSectionName]; } 25[ConfigurationProperty(ConfigurationStrings.ConnectionManagementSectionName)] 28get { return (ConnectionManagementSection)Sections[ConfigurationStrings.ConnectionManagementSectionName]; } 31[ConfigurationProperty(ConfigurationStrings.DefaultProxySectionName)] 34get { return (DefaultProxySection)Sections[ConfigurationStrings.DefaultProxySectionName]; } 40get { return (MailSettingsSectionGroup)SectionGroups[ConfigurationStrings.MailSettingsSectionName]; } 48return config.GetSectionGroup(ConfigurationStrings.SectionGroupName) as NetSectionGroup; 51[ConfigurationProperty(ConfigurationStrings.RequestCachingSectionName)] 54get { return (RequestCachingSection)Sections[ConfigurationStrings.RequestCachingSectionName]; } 57[ConfigurationProperty(ConfigurationStrings.SettingsSectionName)] 60get { return (SettingsSection)Sections[ConfigurationStrings.SettingsSectionName]; } 63[ConfigurationProperty(ConfigurationStrings.WebRequestModulesSectionName)] 66get { return (WebRequestModulesSection)Sections[ConfigurationStrings.WebRequestModulesSectionName]; }
net\System\Net\Configuration\PerformanceCountersElement.cs (2)
21[ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue=false)] 39new ConfigurationProperty(ConfigurationStrings.Enabled, typeof(bool), false,
net\System\Net\Configuration\ProxyElement.cs (10)
56[ConfigurationProperty(ConfigurationStrings.AutoDetect, DefaultValue=AutoDetectValues.Unspecified)] 63[ConfigurationProperty(ConfigurationStrings.ScriptLocation)] 70[ConfigurationProperty(ConfigurationStrings.BypassOnLocal, DefaultValue=(BypassOnLocalValues) BypassOnLocalValues.Unspecified)] 77[ConfigurationProperty(ConfigurationStrings.ProxyAddress)] 84[ConfigurationProperty(ConfigurationStrings.UseSystemDefault, DefaultValue=(UseSystemDefaultValues) UseSystemDefaultValues.Unspecified)] 94new ConfigurationProperty(ConfigurationStrings.AutoDetect, 102new ConfigurationProperty(ConfigurationStrings.ScriptLocation, 112new ConfigurationProperty(ConfigurationStrings.BypassOnLocal, 120new ConfigurationProperty(ConfigurationStrings.ProxyAddress, 128new ConfigurationProperty(ConfigurationStrings.UseSystemDefault,
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\SmtpSpecifiedPickupDirectoryElement.cs (2)
30[ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation)] 45new ConfigurationProperty(ConfigurationStrings.PickupDirectoryLocation, typeof(string), null,
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\WebProxyScriptElement.cs (5)
38ConfigurationStrings.WebProxyScript), 47[ConfigurationProperty(ConfigurationStrings.AutoConfigUrlRetryInterval, DefaultValue = 600)] // 600 seconds, 10 minutes. 54[ConfigurationProperty(ConfigurationStrings.DownloadTimeout, DefaultValue = "00:01:00")] 81new ConfigurationProperty(ConfigurationStrings.AutoConfigUrlRetryInterval, 89new ConfigurationProperty(ConfigurationStrings.DownloadTimeout,
net\System\Net\Configuration\WebRequestModuleElement.cs (4)
44[ConfigurationProperty(ConfigurationStrings.Prefix, IsRequired=true, IsKey = true)] 51[ConfigurationProperty(ConfigurationStrings.Type)] 78new ConfigurationProperty(ConfigurationStrings.Prefix, 84new ConfigurationProperty(ConfigurationStrings.Type,
net\System\Net\Configuration\WebRequestModulesSection.cs (6)
34ConfigurationStrings.WebRequestModulesSectionName), 42new WebRequestModuleElement(ConfigurationStrings.Https, typeof(HttpRequestCreator))); 44new WebRequestModuleElement(ConfigurationStrings.Http, typeof(HttpRequestCreator))); 46new WebRequestModuleElement(ConfigurationStrings.File, typeof(FileWebRequestCreator))); 48new WebRequestModuleElement(ConfigurationStrings.Ftp, typeof(FtpWebRequestCreator))); 109WebRequestModulesSection section = PrivilegedConfigurationManager.GetSection(ConfigurationStrings.WebRequestModulesSectionPath) as WebRequestModulesSection;
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)]