Detect Windows Proxy Settings (IE) Changes

I also use WinHttpGetIEProxyConfigForCurrentUserfriends to collect current proxy information when my application launches the same way as before each request seems to severely degrade performance, and this forces a few seconds to collect proxy data. Is there a way to determine when Windows proxy settings have changed so that I can cache information before it changes?

Thanks J

+3
source share
3 answers

Not sure if there is a better way, but you can always use the kernel option and use RegNotifyChangeKeyValue with HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings.

+2
source

?

WinHttpGetIEProxyConfigForCurrentUser, non-main-UI.

WinHttpGetIEProxyConfigForCurrentUser , , , .

0

I'm not sure if it is generated with proxy settings changes or not, but a message may appear WM_SETTINGCHANGEthat you could handle.

0
source

All Articles