NuGet.ProxyService.GetProxy C# (CSharp) Method

GetProxy() public method

public GetProxy ( Uri uri ) : IWebProxy
uri System.Uri
return IWebProxy
        public virtual IWebProxy GetProxy(Uri uri)
        {
            if (null == uri) {
                throw new ArgumentNullException("uri");
            }

            bool isSystemProxySet = IsSystemProxySet(uri);
            return isSystemProxySet ? GetProxyInternal(uri) : null;
        }