SCDynamicStoreCopyLocalHostName(_:)
Returns the current local host name.
Declaration
func SCDynamicStoreCopyLocalHostName(_ store: SCDynamicStore?) -> CFString?Parameters
- store:
The dynamic store session that should be used for communication with the server. Pass
NULLto use a temporary session.
Return Value
Returns the current local host name, or NULL if the name has not been set or if an error occurred. You must release the return value.