Skip to content

Easy Auto Proxy in C# using app.config

July 21, 2008

One of the feature requests that I got for the next version of RipShout was proxy support for people tuning in at work.  I didn’t want to bog the app (which I intended to be very slim) down with a config window and permanent storage.  As is often the case, the answer presented itself with a simple app.config setting to automatically utilize the default proxy settings on the box.  Neato burrito.

<system.net>
  <defaultProxy>
    <proxy usesystemdefault="true" />
  </defaultProxy>
</system.net>
Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: