• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Configuring network prefs programmically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Configuring network prefs programmically (From: <email@hidden>)

  • Prev by Date: Re: Configuring network prefs programmically
  • Next by Date: Re: Forcing NSUserDefaults being written to disk?
  • Previous by thread: Re: Configuring network prefs programmically
  • Next by thread: Re: Configuring network prefs programmically
  • Index(es):
    • Date
    • Thread