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").
Omit or pass null to return all keys (equivalent to ".*").
Parameters
pattern: string|null
An optional regular expression that filters which keys are included.
Returns Record<string,any>
A dictionary mapping key strings to their current values. Values may be
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"). Omit or passnullto return all keys (equivalent to".*").