Configuring network prefs programmically
Configuring network prefs programmically
- Subject: Configuring network prefs programmically
- From: <email@hidden>
- Date: Wed, 8 Jan 2003 22:38:42 -0800
Hi,
I have been thinking about how to change the network prefs programmically. Either using AppleScript or C/ObjC.
First I looked into AppleScript, but the dictionaries available for SystemServices and System Preferences dont allow any configuration.
Then I looked into the developer docs. I ran into SystemConfiguration framework. So I wrapped a little inspector which loads all keys from the dynamic cache and allows you to get the values of those keys (via -description). Unfortunately I really can't make head or tails of the whole thing. I can't figure out how to enumerate all network configs, change them, and add/remove them.
Can anyone point me to better documentation/sample code? Or maybe a better way? Most of the sample code I saw online is for open transport configuration.
Thanks!
-ryan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.