其实只要在 Machine.config (也就是 xxx.exe.config) 里面设定就可以了.
范例如下:
<configuration>
<system.net>
<defaultProxy>
<proxy
proxyaddress = "http://proxyserver:80"
bypassonlocal = "true"
/>
</defaultProxy>
</system.net>
</configuration>
此方法, .Net 与 mono 均适用.
相关文章:
-
2021-11-05
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-03-06
-
2022-12-23
-
2022-12-23
-
2021-09-08
猜你喜欢
-
2021-06-14
-
2022-12-23
-
2022-12-23
-
2021-07-07
-
2021-09-28
-
2022-02-01
-
2022-02-22
相关资源
-
下载
2021-06-24
-
下载
2021-06-05
-
下载
2023-01-07