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