MaxConnections and App.config question

2020-07-21 04:58发布

I have a multipart downloader, and to get it working I'm using this app.config

<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v2.0.50727"/></startup>
<system.net>
<connectionManagement>
    <add address="*" maxconnection="65000" />
</connectionManagement>
</system.net>
</configuration>

How can I put that file into my executable or somehow set this param internally?

标签: c# c#-2.0
1条回答
够拽才男人
2楼-- · 2020-07-21 05:37
登录 后发表回答