System.Net.ServicePointManager.FindServicePoint C# (CSharp) Method

FindServicePoint() public static method

public static FindServicePoint ( System address, System proxy ) : System.Net.ServicePoint
address System
proxy System
return System.Net.ServicePoint
        public static System.Net.ServicePoint FindServicePoint(System.Uri address, System.Net.IWebProxy proxy) { throw null; }
        public static void SetTcpKeepAlive(bool enabled, int keepAliveTime, int keepAliveInterval) { throw null; }

Same methods

ServicePointManager::FindServicePoint ( Uri address ) : ServicePoint
ServicePointManager::FindServicePoint ( Uri address, IWebProxy proxy ) : ServicePoint
ServicePointManager::FindServicePoint ( string uriString, IWebProxy proxy ) : ServicePoint
ServicePointManager::FindServicePoint ( System address ) : System.Net.ServicePoint
ServicePointManager::FindServicePoint ( string uriString, System proxy ) : System.Net.ServicePoint

Usage Example

Example #1
0
        ServicePoint GetServicePoint()
        {
            if (servicePoint == null)
            {
                servicePoint = ServicePointManager.FindServicePoint(requestUri, proxy);
            }

            return(servicePoint);
        }
All Usage Examples Of System.Net.ServicePointManager::FindServicePoint