1 instantiation of ServicePoint
System.Net.Requests (1)
System\Net\ServicePoint\ServicePointManager.cs (1)
153sp = new ServicePoint(address)
21 references to ServicePoint
netstandard (1)
netstandard.cs (1)
1253[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePoint))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
741[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePoint))]
System.Net.Mail (2)
System\Net\Mail\SmtpClient.cs (2)
60private ServicePoint? _servicePoint; 262public ServicePoint ServicePoint
System.Net.Requests (16)
System\Net\FtpWebRequest.cs (2)
200private ServicePoint? _servicePoint; 472public ServicePoint ServicePoint => _servicePoint ??= ServicePointManager.FindServicePoint(_uri);
System\Net\HttpWebRequest.cs (4)
59private ServicePoint? _servicePoint; 125public readonly ServicePoint? ServicePoint; 787public ServicePoint ServicePoint => _servicePoint ??= ServicePointManager.FindServicePoint(Address, Proxy); 1781static void BindHelper(ServicePoint servicePoint, ref IPAddress[] addresses, Socket socket, int port)
System\Net\ServicePoint\BindIPEndPoint.cs (1)
6public delegate IPEndPoint BindIPEndPoint(ServicePoint servicePoint, IPEndPoint remoteEndPoint, int retryCount);
System\Net\ServicePoint\ServicePointManager.cs (9)
17private static readonly ConcurrentDictionary<string, WeakReference<ServicePoint>> s_servicePointTable = new ConcurrentDictionary<string, WeakReference<ServicePoint>>(); 103public static ServicePoint FindServicePoint(Uri address) => FindServicePoint(address, null); 106public static ServicePoint FindServicePoint(string uriString, IWebProxy? proxy) => FindServicePoint(new Uri(uriString), proxy); 109public static ServicePoint FindServicePoint(Uri address, IWebProxy? proxy) 120ServicePoint? sp; // outside of loop to keep references alive from one iteration to the next 126WeakReference<ServicePoint>? wr; 135foreach (KeyValuePair<string, WeakReference<ServicePoint>> entry in s_servicePointTable) 162s_servicePointTable[tableKey] = new WeakReference<ServicePoint>(sp);
System.Net.ServicePoint (1)
System.Net.ServicePoint.cs (1)
6[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.ServicePoint))]