SCDynamicStoreCopyProxies(_:)
Returns the key-value pairs that represent the current internet proxy settings.
Declaration
func SCDynamicStoreCopyProxies(_ store: SCDynamicStore?) -> CFDictionary?Parameters
- store:
The dynamic store session that should be used for communication with the server. Pass
NULLto use a temporary session.
Return Value
A dictionary of key-value pairs that represent the current internet proxy settings, or NULL if no proxy settings have been defined or if an error occurred. You must release the returned value.
Discussion
The returned proxy settings dictionary can include the following key-value pairs:
Key | Type | Description |
|---|---|---|
| A | Host name patterns that should bypass the proxy |
| A | Enables or disables the use of an HTTP proxy |
|
| The proxy host |
|
| The proxy port number |
| A | Enables or disables the use of an HTTPS proxy |
|
| The proxy host |
|
| The proxy port number |
| A | Enables or disables the use of an FTP proxy |
|
| The proxy host |
|
| The proxy port number |
| A | Enables or disables passive mode operation for use behind connection filtering firewalls |