C# webclient and proxy server

前端 未结 7 481
情书的邮戳
情书的邮戳 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:21

    I've encountered the same issue but using a webclient for downloading a file from the internet with a Winform application the solution was adding in the app.config:

    
        
    
    

    The same solution will work for an asp.net app inserting the same rows in web.config.

    Hope it will help.

提交回复
热议问题