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

# SCNetworkProtocolGetConfiguration(_:)

Returns the configuration settings associated with the specified protocol.

```
func SCNetworkProtocolGetConfiguration(_ protocol: SCNetworkProtocol) -> CFDictionary?
```

## Parameters

`protocol`

The network protocol.

## Return Value

The configuration settings associated with the protocol, or `NULL` if no configuration settings are associated with the protocol or an error occurred.

## Discussion

---

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)