• 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: What is the "preference path" in "SCPreferencesPathGetValue" ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the "preference path" in "SCPreferencesPathGetValue" ?


  • Subject: Re: What is the "preference path" in "SCPreferencesPathGetValue" ?
  • From: Quinn <email@hidden>
  • Date: Fri, 22 Aug 2008 11:29:01 +0100

At 17:52 +0800 22/8/08, Andy wrote:
In my code, I use the function "CFDictionaryRef
SCPreferencesPathGetValue ( SCPreferencesRef prefs, CFStringRef path
)" to get a dictionary for a system proxy configuration, my "path"
string is "/Networkservice/0/Proxies", but it returns NULL, so what is
the  correct path string, is it only an absolute path string ?
My Mac OS X version is 10.5.3

Mac OS X has a whole bunch of different APIs for managing proxy preferences, and you might be better off using one of the more high-level APIs. If you post a short description of your high-level goal, I should be able to advise you as to the best way to proceed.


S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >What is the "preference path" in "SCPreferencesPathGetValue" ? (From: Andy <email@hidden>)

  • Prev by Date: Re: A problem of WebCtrlEventListerer setCallerCtx
  • Next by Date: CFSocketCreateRunLoopSource crashes
  • Previous by thread: What is the "preference path" in "SCPreferencesPathGetValue" ?
  • Next by thread: A problem of WebCtrlEventListerer setCallerCtx
  • Index(es):
    • Date
    • Thread