<!--
{
  "availability" : [
    "macOS: 10.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCDynamicStoreKeyCreateNetworkGlobalEntity(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCDynamicStoreKeyCreateNetworkGlobalEntity"
  },
  "title" : "SCDynamicStoreKeyCreateNetworkGlobalEntity(_:_:_:)"
}
-->

# SCDynamicStoreKeyCreateNetworkGlobalEntity(_:_:_:)

Creates a dynamic store key that can be used to access a specific global (as opposed to a per-service or per-interface) network configuration entity.

```
func SCDynamicStoreKeyCreateNetworkGlobalEntity(_ allocator: CFAllocator?, _ domain: CFString, _ entity: CFString) -> CFString
```

## Parameters

`allocator`

The allocator that should be used to allocate memory for this key. This parameter may be `NULL` in which case the current default allocator is used. If this value is not a valid <doc://com.apple.documentation/documentation/CoreFoundation/CFAllocator>, the behavior is undefined.

`domain`

The desired domain, such as the requested configuration or the current state.

`entity`

The specific global entity, such as IPv4 or DNS.

## Return Value

A string containing the formatted key.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)