Questions tagged [defaultproxy]

8 questions
10
votes
2 answers

Exception when specifying defaultProxy in app.config when running NET4.0 application from network share

We're seeing a very strange issue when running the following application from a network share under NET4.0. When specifying a defaultProxy section in app.config a System.Net.WebException is thrown. There is no problem when running from a local…
5
votes
2 answers

when using "default proxy" where does the username/password come from?

The "WebClient" class (and ClickOnce also) can use default proxy settings (e.g. put in application.config), however: Where does the username / password come from? (I can't see a setting in the XML config - see below). Can the application be…
Greg
  • 34,042
  • 79
  • 253
  • 454
3
votes
2 answers

getting "remote server cannot be resolved" on localhost does not get fixed by defaultProxy?

here is the sitution, i am testing on my localhost from my machine at home (no proxy server and windows default firewall) and retrieving api.flickr.com xml file, when I come to work (that uses an ISA server to connect) I get "remote server could not…
Ayyash
  • 4,257
  • 9
  • 39
  • 58
2
votes
0 answers

.net question - where are the DefaultCredentials stored/accessed from for a WinForms v3.5 app?

Where are the DefaultCredentials stored/accessed from for a WinForms v3.5 app? That is if I am using the settings for defaultProxy for my Winforms v3.5 application, and set a proxy server address here, exactly where does/can the username/password…
Greg
  • 34,042
  • 79
  • 253
  • 454
1
vote
1 answer

Programmatically changing defaultproxy instead of using app.config

I'm creating a desktop application in WPF. This application uses webclient instances to communicate with an API to collect data from. In this desktop application I want to create a checkbox which should allow the user to ignore the internet options…
Jeroen
  • 17
  • 1
  • 4
1
vote
1 answer

401 web exception while downloading file

I want to download a certain file from a website. For that, I tried using this WebProxy p = new WebProxy("192.168.10.254:8080", true); p.Credentials = new NetworkCredential("username", "pwd"); WebRequest.DefaultWebProxy = p; WebClient client = new…
user3108411
  • 155
  • 1
  • 1
  • 7
0
votes
3 answers

.Net default proxy setting

If I have a client application which needs to call a web service. I want to know the pros/cons and impact if I set default proxy property to true or false in app.config file? Thanks! Here is the property I am talking…
George2
  • 44,761
  • 110
  • 317
  • 455
0
votes
0 answers

.NET Screensaver Doesn't work with .DEFAULT User

I've created a custom screensaver that works fine when users are logged in and have no activity for x amount of time. I would like this screensaver to be utilized when no one is logged in as well such as instances when there is a reboot. I applied…