Re: using SystemConfiguration framework
Re: using SystemConfiguration framework
- Subject: Re: using SystemConfiguration framework
- From: OL&L Lists <email@hidden>
- Date: Tue, 22 Jun 2004 03:10:13 -0700
You can't set them directly through the API because doing so is a
privileged operation. You need to do that through a helper tool.
The SCF documentation is abysmal - there is no clear explanation
anywhere of how to assemble the correct keys - it's trial and error
until you 'get it'.
My advice is to use MoreIsBetter library to do the heavy lifting for
you - write a helper tool, use MIB to load and execute it, then do
all the privileged work in the tool. This is how Apple recommends to
do it.
Michael
Orbital Launch & Lift, Inc.
http://www.orbitallaunch.com
At 8:55 PM -0600 6/12/04, Matthew Jaffa wrote:
Hi,
I was wondering if anyone here is familiar with the
SystemConfiguration framework,
specifically the Dynamic Store key/value stuff.
I am trying to set the Proxy settings programatically, but don't
know what key/value to set when using the function that sets the
key/values.
I have been able to create a notification for myself to be notified
when the Proxy settings change, like through system preferences. And
I have also been able to get the the Proxy settings,
but don't know how to set them, so is there a complete list of
key/values to get at in the Dynamic Store/System configuration
framework?
thanks,
Matt
_______________________________________________
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.
_______________________________________________
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.