C# webclient and proxy server

前端 未结 7 483
情书的邮戳
情书的邮戳 2020-11-30 04:10

I am using a web client class in my source code for downloading a string using http.

This was working fine. However, the clients in the company are all connected now

7条回答
  •  生来不讨喜
    2020-11-30 04:22

    You need to configure the proxy in the WebClient object.

    See the WebClient.Proxy property:

    http://msdn.microsoft.com/en-us/library/system.net.webclient.proxy(VS.80).aspx

提交回复
热议问题