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

# SCNetworkServiceGetEnabled(_:)

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

```
func SCNetworkServiceGetEnabled(_ service: SCNetworkService) -> Bool
```

## Parameters

`service`

The network service.

## Return Value

`TRUE` if the service 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)