Reputation: 253
In my application i use external resources on web that require proxy authentication. All my requests are http type by using WebRequest / DataSet.ReadXml(url) / ecc..... Every time i need to give credentials...
So is possible to assign credential only one time in my application?
Upvotes: 1
Views: 2554
Reputation: 7759
request.Proxy = WebRequest.DefaultWebProxy;
You can set a defaultProxy element in your config.
Upvotes: 1