1

I'm writing a C# application with.net 4.0. Is there any way that I can remove something ( like a proxy setting ) from App.Config in runtime ? if yes than is there any way that I can put it back again ?

Farzad

1
  • Most of the settings in the config file can be overridden programatically. What exactly are you trying to achieve? Commented Nov 14, 2011 at 12:25

1 Answer 1

3

YOu can disable the proxy settings manually by using this ....

I hope this link will clearly explains you......disable proxy for entire application

  <?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.net>
        <defaultProxy enabled="false" useDefaultCredentials="false">
            <proxy/>
            <bypasslist/>
            <module/>
        </defaultProxy>
    </system.net>
</configuration>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.