Contents

SCNetworkSetCopy(_:_:)

Returns the set with the specified identifier.

Declaration

func SCNetworkSetCopy(_ prefs: SCPreferences, _ setID: CFString) -> SCNetworkSet?

Parameters

  • prefs:

    The preferences session.

  • setID:

    The unique identifier for the set.

Return Value

The network set from the associated preferences, or NULL if the identifier does not exist in the preferences or if an error occurred. You must release the returned value.

See Also

Configuring Network Sets