CFNetServiceGetName(_:)
Gets the name from a CFNetService.
Declaration
func CFNetServiceGetName(_ theService: CFNetService) -> Unmanaged<CFString>Parameters
- theService:
The CFNetService whose name is to be obtained; cannot be
NULL.
Return Value
A CFString object containing the name of the service represented by the CFNetService.
Discussion
This function gets the name from a CFNetService.
Special Considerations
This function is thread safe. The function gets the data in a thread-safe way, but the data is not safe if the service is altered from another thread.
See Also
Network Services
CFNetServiceCFNetServiceBrowserCFNetServiceBrowserFlagsCFNetServiceMonitorCFNetServiceMonitorTypeCFNetServiceClientContextCFNetServiceRegisterFlagsCFNetServicesErrorCFNetServiceBrowserInvalidate(_:)CFNetServiceBrowserScheduleWithRunLoop(_:_:_:)CFNetServiceBrowserCreate(_:_:_:)CFNetServiceBrowserGetTypeID()CFNetServiceBrowserSearchForDomains(_:_:_:)CFNetServiceBrowserSearchForServices(_:_:_:_:)CFNetServiceBrowserStopSearch(_:_:)