Contents

SCNetworkServiceGetEnabled(_:)

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

Declaration

func SCNetworkServiceGetEnabled(_ service: SCNetworkService) -> Bool

Parameters

  • service:

    The network service.

Return Value

TRUE if the service is enabled; otherwise, FALSE.

See Also

Configuring Network Services