Programmatically Change System Network (Proxy) settings

后端 未结 1 1833
天涯浪人
天涯浪人 2021-02-06 13:23

Is there a way, from within a Cocoa application to change the system network settings (specifically, the proxy settings). I\'ve found that there is a file called preference

相关标签:
1条回答
  • 2021-02-06 13:50

    You want the SystemConfiguration framework, specifically the Proxies Dictionary (see here for more details).

    0 讨论(0)
提交回复
热议问题