公告
财富商城
积分规则
提问
发文
2019-05-11 13:14发布
霸刀☆藐视天下
Both GetSystemWebProxy and DefaultWebProxy return null.
WebRequest.GetSystemWebProxy(); WebRequest.DefaultWebProxy;
If you use a recent version of monomac (or build it from source) then you should be able to call the static method CFNetwork.GetDefaultProxy (source, look at the end of the file) to get an IWebProxy instance that should match what OSX is using.
CFNetwork.GetDefaultProxy
IWebProxy
最多设置5个标签!
If you use a recent version of monomac (or build it from source) then you should be able to call the static method
CFNetwork.GetDefaultProxy
(source, look at the end of the file) to get anIWebProxy
instance that should match what OSX is using.