93 references to ServicePointManager
System (87)
net\System\_DomainName.cs (1)
329if (!ServicePointManager.AllowDangerousUnicodeDecompositions && ContainsCharactersUnsafeForNormalizedHost(asciiForm)){
net\System\_IPv6Address.cs (2)
186if (name[start] == ':' && (start + 1 >= end || name[start + 1] != ':') && ServicePointManager.UseStrictIPv6AddressParsing) { 569int limit = ServicePointManager.UseStrictIPv6AddressParsing ? NumberOfLabels : NumberOfLabels + 1;
net\System\Net\_Connection.cs (3)
484if (ServicePointManager.UseHttpPipeliningAndBufferPooling) 2153if (ServicePointManager.UseHttpPipeliningAndBufferPooling) 2699bool isUnknownInterimResponse = ServicePointManager.UseStrictRfcInterimResponseHandling ? ((int)m_ResponseData.m_StatusCode > 101 && (int)m_ResponseData.m_StatusCode < 200) : false;
net\System\Net\_FtpControlStream.cs (4)
198ServicePointManager.CheckCertificateRevocationList, 199(SslProtocols)ServicePointManager.SecurityProtocol, 406ServicePointManager.CheckCertificateRevocationList, 407(SslProtocols)ServicePointManager.SecurityProtocol,
net\System\Net\_PooledStream.cs (9)
461if (ServicePointManager.UseSafeSynchronousClose) { 472if (ServicePointManager.UseSafeSynchronousClose && ClosingFlag == Interlocked.Decrement(ref m_SynchronousIOClosingState)) { 494if (ServicePointManager.UseSafeSynchronousClose) { 505if (ServicePointManager.UseSafeSynchronousClose && ClosingFlag == Interlocked.Decrement(ref m_SynchronousIOClosingState)) { 569if (!ServicePointManager.UseSafeSynchronousClose) { 621if (ServicePointManager.UseSafeSynchronousClose) { 638if (ServicePointManager.UseSafeSynchronousClose) { 661if (!ServicePointManager.UseSafeSynchronousClose) { 674if (!ServicePointManager.UseSafeSynchronousClose) {
net\System\Net\_SecureChannel.cs (4)
747if (!ServicePointManager.DisableSendAuxRecord) 759if (!ServicePointManager.DisableStrongCrypto 846if (!ServicePointManager.DisableSendAuxRecord) 1254if (!ServicePointManager.DisableCertificateEKUs)
net\System\Net\_TLSstream.cs (1)
474ServicePointManager.CheckCertificateName);
net\System\Net\Configuration\SettingsSection.cs (2)
27o = System.Net.ServicePointManager.DefaultConnectionLimit; 29o = System.Net.ServicePointManager.Expect100Continue;
net\System\Net\FtpWebRequest.cs (1)
490ServicePoint servicePoint = ServicePointManager.FindServicePoint(m_Uri, proxy);
net\System\Net\HttpWebRequest.cs (8)
1843servicePoint = ServicePointManager.FindServicePoint(chain); 3069if (ServicePointManager.UseHttpPipeliningAndBufferPooling && bufferSize <= CachedWriteBufferSize) 3303_ServicePoint = ServicePointManager.FindServicePoint(_Uri, _Proxy, out _ProxyChain, ref _AbortDelegate, ref m_Aborted); 5135CheckCertificateRevocationList = ServicePointManager.CheckCertificateRevocationList; 5136SslProtocols = (SslProtocols)ServicePointManager.SecurityProtocol; 5204_ConnectionGroupName = ServicePointManager.SpecialConnectGroupName + "(" + UniqueGroupId + ")"; 5270CheckCertificateRevocationList = ServicePointManager.CheckCertificateRevocationList; 5271SslProtocols = (SslProtocols)ServicePointManager.SecurityProtocol;
net\System\Net\Internal.cs (2)
2086if (ServicePointManager.CheckCertificateName){ 2106if ((CertificateProblem)status == CertificateProblem.CertCN_NO_MATCH && ServicePointManager.CheckCertificateName) {
net\System\Net\mail\SmtpClient.cs (1)
310servicePoint = ServicePointManager.FindServicePoint(host, port);
net\System\Net\mail\smtpconnection.cs (6)
401ServicePointManager.CheckCertificateRevocationList, 402(SslProtocols)ServicePointManager.SecurityProtocol, 925ServicePointManager.CheckCertificateRevocationList, 926(SslProtocols)ServicePointManager.SecurityProtocol, 950ServicePointManager.CheckCertificateRevocationList, 951(SslProtocols)ServicePointManager.SecurityProtocol,
net\System\Net\SecureProtocols\_SslState.cs (1)
164if (ServicePointManager.DisableSystemDefaultTlsVersions && ((int)enabledSslProtocols == 0)) {
net\System\Net\SecureProtocols\SslStream.cs (10)
126AuthenticateAsClient(targetHost, new X509CertificateCollection(), ServicePointManager.DefaultSslProtocols, false); 131AuthenticateAsClient(targetHost, clientCertificates, ServicePointManager.DefaultSslProtocols, LocalAppContextSwitches.DontCheckCertificateRevocation ? false : checkCertificateRevocation); 146return BeginAuthenticateAsClient(targetHost, new X509CertificateCollection(), ServicePointManager.DefaultSslProtocols, false, 155return BeginAuthenticateAsClient(targetHost, clientCertificates, ServicePointManager.DefaultSslProtocols, checkCertificateRevocation, asyncCallback, asyncState); 185AuthenticateAsServer(serverCertificate, false, ServicePointManager.DefaultSslProtocols, false); 191AuthenticateAsServer(serverCertificate, clientCertificateRequired, ServicePointManager.DefaultSslProtocols, checkCertificateRevocation); 207return BeginAuthenticateAsServer(serverCertificate, false, ServicePointManager.DefaultSslProtocols, false, 217return BeginAuthenticateAsServer(serverCertificate, clientCertificateRequired, ServicePointManager.DefaultSslProtocols, checkCertificateRevocation, asyncCallback, asyncState); 272return AuthenticateAsClientAsync(targetHost, clientCertificates, ServicePointManager.DefaultSslProtocols, checkCertificateRevocation); 290return AuthenticateAsServerAsync(serverCertificate, clientCertificateRequired, ServicePointManager.DefaultSslProtocols, checkCertificateRevocation);
net\System\Net\ServicePoint.cs (26)
121m_UseNagleAlgorithm = ServicePointManager.UseNagleAlgorithm; 122m_Expect100Continue = ServicePointManager.Expect100Continue; 126m_UseTcpKeepAlive = ServicePointManager.s_UseTcpKeepAlive; 127m_TcpKeepAliveTime = ServicePointManager.s_TcpKeepAliveTime; 128m_TcpKeepAliveInterval = ServicePointManager.s_TcpKeepAliveInterval; 137m_ExpiringTimer = m_IdlingQueue.CreateTimer(ServicePointManager.IdleServicePointTimeoutDelegate, this); 163m_ExpiringTimer = m_IdlingQueue.CreateTimer(ServicePointManager.IdleServicePointTimeoutDelegate, this); 527m_ExpiringTimer = TimerThread.CreateQueue(timeLeft).CreateTimer(ServicePointManager.IdleServicePointTimeoutDelegate, this); 1022m_ExpiringTimer = m_IdlingQueue.CreateTimer(ServicePointManager.IdleServicePointTimeoutDelegate, this); 1073if (ServicePointManager.GetLegacyCertificatePolicy() != null && (m_Request is WebRequest)) 1077bool checkResult = ServicePointManager.CertPolicyValidationCallback. 1086if (!ServicePointManager.CertPolicyValidationCallback.UsesDefault 1087|| ServicePointManager.ServerCertificateValidationCallback == null) 1092if (ServicePointManager.ServerCertificateValidationCallback != null) 1095return ServicePointManager.ServerCertValidationCallback. 1316if (ServicePointManager.ReusePortSupported.HasValue && !ServicePointManager.ReusePortSupported.Value) { 1322reusePort = ServicePointManager.ReusePort; 1335ServicePointManager.ReusePortSupported = true; 1343ServicePointManager.ReusePortSupported = false; 1439if (ServicePointManager.ReusePort) { 1454if (ServicePointManager.ReusePort) { 1466if (ServicePointManager.UseSafeSynchronousClose) { 1565if (!ServicePointManager.EnableDnsRoundRobin ) { 1577int dnsRefreshTimeout = ServicePointManager.DnsRefreshTimeout; 1652if (ServicePointManager.EnableDnsRoundRobin)
net\System\URI.cs (4)
3370if (!ServicePointManager.AllowAllUriEncodingExpansion && m_String.Length > ushort.MaxValue){ 3492if (!ServicePointManager.AllowAllUriEncodingExpansion && m_String.Length > ushort.MaxValue){ 3550if (!ServicePointManager.AllowAllUriEncodingExpansion && m_String.Length > ushort.MaxValue){ 3986if (!ServicePointManager.AllowAllUriEncodingExpansion && newHost.Length > ushort.MaxValue){
net\System\UriExt.cs (2)
156if (ServicePointManager.AllowAllUriEncodingExpansion) 212if (ServicePointManager.AllowAllUriEncodingExpansion)
System.Runtime.Remoting (1)
channels\http\httpclientchannel.cs (1)
224ServicePoint sp = ServicePointManager.FindServicePoint(new Uri(channelURI));
System.ServiceModel (4)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (2)
154chainedServerCertValidationCallback = ServicePointManager.ServerCertificateValidationCallback; 155ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (1)
181var protocol = (SchProtocols)System.Net.ServicePointManager.SecurityProtocol & SchProtocols.ServerMask;
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
84var protocol = (SchProtocols)System.Net.ServicePointManager.SecurityProtocol & SchProtocols.ClientMask;
System.Web (1)
HttpRuntime.cs (1)
1200System.Net.ServicePointManager.DefaultConnectionLimit = Int32.MaxValue;