Optionalpattern: string | null
An optional regular expression that filters which keys are included. Omit or pass null to return all keys (equivalent to ".*").
A dictionary mapping key strings to their current values. Values may be dictionaries, arrays, strings, or numbers depending on the key.
Returns the contents of the macOS System Configuration dynamic store as a dictionary.
The store holds live network configuration for the running system — interface addresses, routing, DNS servers, proxy settings, VPN state, and more. Keys follow a hierarchical path convention (e.g.
"State:/Network/Global/IPv4").