---
title: "SCNetworkProtocolGetConfiguration(_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkprotocolgetconfiguration(_:)"
---

# SCNetworkProtocolGetConfiguration(_:)

Returns the configuration settings associated with the specified protocol.

## Declaration

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

## Parameters

- `protocol`: The network protocol.

## Return Value

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

## See Also

### Configuring Network Protocols

- [SCNetworkProtocolGetEnabled(_:)](systemconfiguration/scnetworkprotocolgetenabled(_:).md)
- [SCNetworkProtocolGetProtocolType(_:)](systemconfiguration/scnetworkprotocolgetprotocoltype(_:).md)
- [SCNetworkProtocolGetTypeID()](systemconfiguration/scnetworkprotocolgettypeid().md)
- [SCNetworkProtocolSetConfiguration(_:_:)](systemconfiguration/scnetworkprotocolsetconfiguration(_:_:).md)
- [SCNetworkProtocolSetEnabled(_:_:)](systemconfiguration/scnetworkprotocolsetenabled(_:_:).md)
