How to AutoDetect/Use IE proxy settings in .net HttpWebRequest

后端 未结 4 1756
情歌与酒
情歌与酒 2020-12-16 13:20

Is it possible to detect/reuse those settings ?

How ?

The exception i\'m getting is This is the exception while connecting to http://www.google.com



        
4条回答
  •  抹茶落季
    2020-12-16 13:49

    This happens by default, if WebRequest.Proxy is not set explicitly (by default it's set to WebRequest.DefaultWebProxy).

提交回复
热议问题