Re: Configuring network prefs programmically
Re: Configuring network prefs programmically
- Subject: Re: Configuring network prefs programmically
- From: Christian Weykopf <email@hidden>
- Date: Thu, 9 Jan 2003 16:03:51 +0100
Am Donnerstag, 09.01.03, um 07:38 Uhr (Europe/Berlin) schrieb
<email@hidden>:
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.
Have a look at MoreSCF from the Samplecode.
Also the authentication sample is needful.
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.
--
Christian Weykopf
Meilenstein Mac OS Software
Neue Strasse 5
D-31582 Nienburg
Fax: +49 (0) 5021 91 24 45
<
http://www.meilenstein.de/>
_______________________________________________
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.