title: C# Configure LoadFromRemoteSources through code not app.config?
body: <p>I currently have an app.config with the following config value:</p>
  
  <pre><code>&lt;configuration&gt;
   &lt;runtime&gt;
    &lt;loadFromRemoteSources enabled="true" /&gt;
   &lt;/runtime&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>So far I have been able to remove everything else out of my app.config and configure things just using pure C# code except the <code>loadFromRemoteSources</code>.</p>
  
  <p>Is there a way to enable <code>loadFromRemoteSources</code> through C# code?</p>
  
  <p>I understand the pros and cons of having an app.config, but I would prefer not to have one.</p>
  
  <p>Thanks!</p>