Function

CFNetworkCopySystemProxySettings

Returns a CFDictionary containing the current systemwide internet proxy settings.

Declaration

CFDictionaryRef CFNetworkCopySystemProxySettings(void);

Discussion

The dictionary returned contains key-value pairs that represent the current internet proxy settings. The keys in this dictionary are defined in Global Proxy Settings Constants.

The caller is responsible for releasing the returned dictionary.

See Also

Global Proxy Configuration

CFNetworkCopyProxiesForURL

Returns the list of proxies that should be used to download a given URL.

CFNetworkCopyProxiesForAutoConfigurationScript

Executes a proxy autoconfiguration script to determine the best proxy to use to retrieve a specified URL.

CFNetworkExecuteProxyAutoConfigurationScript

Downloads a proxy autoconfiguration script and executes it.

CFNetworkExecuteProxyAutoConfigurationURL

Downloads a proxy autoconfiguration script and executes it.

CFProxyAutoConfigurationResultCallback

Callback function called when a proxy autoconfiguration computation has completed.

Property Keys

Keys for calls to property get/set functions such as CFReadStreamSetProperty and CFReadStreamCopyProperty.

Proxy Types

Constants that specify the type of proxy.

Global Proxy Settings Constants

Constants for keys in the global proxy settings dictionary returned by CFNetworkCopySystemProxySettings.