How to change LAN Settings (proxy configuration) programmatically

后端 未结 5 677
萌比男神i
萌比男神i 2021-02-09 01:11

I am writing a program to automatically switch my proxy address based on the network I am connected to.

I have so far got everything to work except the part that I have

5条回答
  •  自闭症患者
    2021-02-09 01:45

    You just need modify the value:

    Registry Key : HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\
    DWORD AutoDetect = 0 or 1
    

    See this link.

提交回复
热议问题