pub unsafe extern "C-unwind" fn SCNetworkServiceSetName(
service: &SCNetworkService,
name: Option<&CFString>,
) -> boolAvailable on crate feature
SCNetworkConfiguration only.Expand description
Stores the [user specified] name for the service.
Parameter service: The network service.
Parameter name: The [user defined] name to associate with the service.
Returns: TRUE if the name was saved; FALSE if an error was encountered.
Note: although not technically required, the [user specified] names for all services within any given set should be unique. As such, an error will be returned if you attemp to name two services with the same string.