https://developer.apple.com/documentation/systemconfiguration/scdynamicstore-gb2
Questions tagged [scdynamicstore]
2 questions
2
votes
0 answers
How to list virtual network services programatically?
What is needed
Using scutil, I may get the list of Network services, including from virtual interfaces (e.g. VPN).
scutil
> list
Which provides:
...
subKey [82] = State:/Network/Service/3EEEA1D1-D35B-427E-BDE0-2025141B495C
subKey [83] =…

Adrian Maire
- 14,354
- 9
- 45
- 85
1
vote
1 answer
How to list all available patterns in a SCDynamicStorage?
Considering the following command:
sudo scutil
> list
I get the list of "pattern" or subkeys available:
subKey [0] = Plugin:...
subKey [1] = Setup:....
....
Programmatically in Objective-C, I am able to acces a specific key:
SCDynamicStoreRef ds…

Adrian Maire
- 14,354
- 9
- 45
- 85