处理LAN代理设置会使用C#更改事件?
问题描述:
当用户更改LAN设置(例如启用/禁用代理服务器或更改代理服务器的地址或端口)时,我想为事件编写一个自定义处理程序.可能吗?
I would like to write a custom handler for event when the user changes the LAN settings, for example enables/disables proxy server or changes the proxy server's address or port. Is it possible?
答
您好PeteH78,
Hi PeteH78,
谢谢您在这里发布.
对于您的问题,是可能的.
For your question, yes, it is possible.
请参考以下链接.它将为您提供一些详细信息.
Please refer to the following links. It will give you some detail information.
http://stackoverflow.com/questions/5570004/how以编程方式更改局域网设置代理配置
http://sturla.simnet.is/post/2008 /09/22/Enable-proxy-in-IE.aspx https://www.codeproject.com/Articles/3651/Change-Internet-Proxy -设置
我希望这会有所帮助.
最好的问候,
温迪