private static IWebProxy GetProxyIfAvailableAndConfigured(IClientConfig config) { #if BCL || UNITY || CORECLR return config.GetWebProxy(); #else return null; #endif } }