1 instantiation of ServicePoint
System.Net.Requests (1)
System\Net\ServicePoint\ServicePointManager.cs (1)
151
sp = 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)
60
private
ServicePoint
? _servicePoint;
262
public
ServicePoint
ServicePoint
System.Net.Requests (16)
System\Net\FtpWebRequest.cs (2)
203
private
ServicePoint
? _servicePoint;
475
public
ServicePoint
ServicePoint => _servicePoint ??= ServicePointManager.FindServicePoint(_uri);
System\Net\HttpWebRequest.cs (4)
61
private
ServicePoint
? _servicePoint;
127
public readonly
ServicePoint
? ServicePoint;
789
public
ServicePoint
ServicePoint => _servicePoint ??= ServicePointManager.FindServicePoint(Address, Proxy);
1783
static void BindHelper(
ServicePoint
servicePoint, ref IPAddress[] addresses, Socket socket, int port)
System\Net\ServicePoint\BindIPEndPoint.cs (1)
6
public delegate IPEndPoint BindIPEndPoint(
ServicePoint
servicePoint, IPEndPoint remoteEndPoint, int retryCount);
System\Net\ServicePoint\ServicePointManager.cs (9)
18
private static readonly ConcurrentDictionary<string, WeakReference<
ServicePoint
>> s_servicePointTable = new ConcurrentDictionary<string, WeakReference<
ServicePoint
>>();
103
public static
ServicePoint
FindServicePoint(Uri address) => FindServicePoint(address, null);
105
public static
ServicePoint
FindServicePoint(string uriString, IWebProxy? proxy) => FindServicePoint(new Uri(uriString), proxy);
107
public static
ServicePoint
FindServicePoint(Uri address, IWebProxy? proxy)
118
ServicePoint
? sp; // outside of loop to keep references alive from one iteration to the next
124
WeakReference<
ServicePoint
>? wr;
133
foreach (KeyValuePair<string, WeakReference<
ServicePoint
>> entry in s_servicePointTable)
160
s_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
))]