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

# SCNetworkProtocolGetEnabled(_:)

Returns a Boolean value indicating whether the specified protocol is enabled.

```
func SCNetworkProtocolGetEnabled(_ protocol: SCNetworkProtocol) -> Bool
```

## Parameters

`protocol`

The network protocol.

## Return Value

`TRUE` if the protocol is enabled; otherwise, `FALSE`.

## 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)