System.IO.File is a handy helper class for reading and writing data, but its methods support only synchronous operation. Is there an easy way to provide File’s functionality for asynchronous file I/O?

In the July 2008 issue of MSDN Magazine, Stephen Toub walks through several ways to implement asynchronous file I/O operations, including using the System.Net.WebClient class.

For more .NET programming guidance from Steve, check out previous .NET Matters installments in our MSDN Magazine archives.