L
Lloyd Dupont
In my auto-update code I donwload some files from the net with a WebRequest.
Some people having a proxy server reported problems.
IN a previous application I set the
WebRequest wr = ....;
wr.Proxy = WebProxy.GetDefaultProxy();
Which read proxy info from internet explorer. Great, exactly what I want.
But this method is now, in 2.0, apparemtly obsolete.
What could I use?
I read somewhere that someone suggested WebRequest.DefaultWebProxy, but
that's crazy, why set it if it's the default already?
I saw also the NetSectionGroup.DefaultProxy propery.
So now, what should I do?
Problem is I cannot test, we are not using proxy here .... :S and I don't
really know they work....
Some people having a proxy server reported problems.
IN a previous application I set the
WebRequest wr = ....;
wr.Proxy = WebProxy.GetDefaultProxy();
Which read proxy info from internet explorer. Great, exactly what I want.
But this method is now, in 2.0, apparemtly obsolete.
What could I use?
I read somewhere that someone suggested WebRequest.DefaultWebProxy, but
that's crazy, why set it if it's the default already?
I saw also the NetSectionGroup.DefaultProxy propery.
So now, what should I do?
Problem is I cannot test, we are not using proxy here .... :S and I don't
really know they work....