---
title: "SCNetworkProtocolGetProtocolType(_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkprotocolgetprotocoltype(_:)"
---

# SCNetworkProtocolGetProtocolType(_:)

Returns the type of the specified network protocol.

## Declaration

```swift
func SCNetworkProtocolGetProtocolType(_ protocol: SCNetworkProtocol) -> CFString?
```

## Parameters

- `protocol`: The network protocol.

## Return Value

Return Value The protocol type.

## See Also

### Configuring Network Protocols

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