我目前有一个app.config,其配置值如下:
<configuration>
<runtime>
<loadFromRemoteSources enabled="true" />
</runtime>
</configuration>
Run Code Online (Sandbox Code Playgroud)
到目前为止,我已经能够从app.config中删除其他所有内容,并使用纯C#代码进行配置,除了loadFromRemoteSources.
有没有办法loadFromRemoteSources通过C#代码启用?
我理解有app.config的优点和缺点,但我不想有一个.
谢谢!