SCDynamicStoreKeyCreateHostNames(_:)
Creates a key that can be used to receive notifications when the HostNames entity changes.
Declaration
func SCDynamicStoreKeyCreateHostNames(_ allocator: CFAllocator?) -> CFStringParameters
- allocator:
The allocator that should be used to allocate memory for this key. This parameter may be
NULLin which case the current default allocator is used. If this value is not a valid Cfallocator, the behavior is undefined.
Return Value
A notification string for the HostNames entity.
Discussion
Use this key with the SCDynamicStoreSetNotificationKeys(_:_:_:) function. Note that the HostNames entity includes the local host name.
See Also
Group
SCDynamicStoreKeyCreateNetworkGlobalEntity(_:_:_:)SCDynamicStoreKeyCreateNetworkInterface(_:_:)SCDynamicStoreKeyCreateNetworkInterfaceEntity(_:_:_:_:)SCDynamicStoreKeyCreateNetworkServiceEntity(_:_:_:_:)SCDynamicStoreKeyCreateComputerName(_:)SCDynamicStoreKeyCreateConsoleUser(_:)SCDynamicStoreKeyCreateLocation(_:)SCDynamicStoreKeyCreateProxies(_:)