简体   繁体   English

从C#代码更改Firefox代理

[英]Change Firefox Proxy from C# code

我已经通过访问“注册表设置”从C#代码中更改了IE代理,因此如何从C#代码中更改Mozila Firefox代理?

You need to edit the prefs.js in your profile directory. 您需要在个人资料目录中编辑prefs.js。 Some sample code can be found here: http://support.mozilla.com/sv-SE/questions/727731 一些示例代码可以在这里找到: http : //support.mozilla.com/sv-SE/questions/727731
Be sure to close firefox before editing that file! 在编辑该文件之前,请确保关闭Firefox!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM