isplay: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">static</span> <span class="identifier">Task</span> <span class="identifier">DownloadAsync</span>(
	<span class="identifier">IServiceProvider</span> <span class="parameter">serviceProvider</span>,
	<span class="identifier">string</span> <span class="parameter">url</span>,
	<span class="identifier">Stream</span> <span class="parameter">stream</span>
)</pre></div><div id="ID0EBCA_code_Div2" class="codeSnippetCont