<!--
{
  "availability" : [
    "macOS: 10.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCDynamicStoreCopyProxies(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCDynamicStoreCopyProxies"
  },
  "title" : "SCDynamicStoreCopyProxies(_:)"
}
-->

# SCDynamicStoreCopyProxies(_:)

Returns the key-value pairs that represent the current internet proxy settings.

```
func SCDynamicStoreCopyProxies(_ store: SCDynamicStore?) -> CFDictionary?
```

## Parameters

`store`

The dynamic store session that should be used for communication with the server. Pass `NULL` to 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                                                                             |
|---------------------------------|--------------------------------------|----------------------------------------------------------------------------------------|
|`kSCPropNetProxiesExceptionsList`|A `CFArray` of `CFString` objects     |Host name patterns that should bypass the proxy                                         |
|`kSCPropNetProxiesHTTPEnable`    |A `CFNumber` with the value `0` or `1`|Enables or disables the use of an HTTP proxy                                            |
|`kSCPropNetProxiesHTTPProxy`     |`CFString`                            |The proxy host                                                                          |
|`kSCPropNetProxiesHTTPPort`      |`CFNumber`                            |The proxy port number                                                                   |
|`kSCPropNetProxiesHTTPSEnable`   |A `CFNumber` with the value `0` or `1`|Enables or disables the use of an HTTPS proxy                                           |
|`kSCPropNetProxiesHTTPSProxy`    |`CFString`                            |The proxy host                                                                          |
|`kSCPropNetProxiesHTTPSPort`     |`CFNumber`                            |The proxy port number                                                                   |
|`kSCPropNetProxiesFTPEnable`     |A `CFNumber` with the value `0` or `1`|Enables or disables the use of an FTP proxy                                             |
|`kSCPropNetProxiesFTPProxy`      |`CFString`                            |The proxy host                                                                          |
|`kSCPropNetProxiesFTPPort`       |`CFNumber`                            |The proxy port number                                                                   |
|`kSCPropNetProxiesFTPPassive`    |A `CFNumber` with the value `0` or `1`|Enables or disables passive mode operation for use behind connection filtering firewalls|

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)