2

If you do not need report progress then the LoadIntoBuffer source code + CopyToAsync source code combo could be handy. All you need to prevent the concurrent call of the LoadIntoBuffer method. (You can call it n times it does not matter, because the IsBuffered flag will short-cut the method.) This can be done by using a Monitor or a Semaphore for mutual ...


Only top voted, non community-wiki answers of a minimum length are eligible