AutomaticUpdater1.wyUpdateCommandline proxy parameter does not work

Hi,

I want to pass urlargs and proxy parameters in .net automaticUpdater control.(AutomaticUpdater1.wyUpdateCommandline)

When I debug the property it has this value > -urlargs:"myUrlArg" -proxy:"127.0.0.1:8888"

I wanted to test the proxy with fiddler. But the request is not coming to fiddler via proxy.

Also when I change the port to 123, I am hoping it cant check updates because there is no working proxy on that port.But it still updates the app.

It seems to me proxy parameter is not working properly on my integration.

How can I fix this? What could be wrong?

You need to set the wyUpdateCommandline property as early in the program as you can. In the constructor before you make any automaticUpdater calls.

I am setting it in menu item click.

Is this event good place to set it?AutomaticUpdater1_BeforeChecking

No, the only place you should set it is in the constructor of your app. Because if wyUpdate start before you pass in wyUpdateCommandline, then those commandline options are never used.