DEV Community

Discussion on: Download file using HttpClient wrapper asynchronously.

Collapse
 
1001binary profile image
1001binary

Thanks Alex :). You're right.

The DownloadFile function is just a sample function to demonstrate how to download file using HttpClient asynchronously.

In practice, the existing HttpClient var should be reused throughout the lifetime of the application.

I just updated this post.