問題タブ [getasync]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
452 参照

c# - httpclient を使用して複数のファイルをダウンロードする

私は xamarin.forms アプリケーションに取り組んでいます。HttpClient を使用して複数のファイルを同時にダウンロードしたい。複数のファイルがある場合、System.IO.IOException:Sharing violation on path を取得しています。改善しなければならないことはありますか?ファイルをダウンロードするための私のコードは次のとおりです。