예제 #1
0
 public async Task CopyAsync()
 {
     using (System.IO.Stream srcStream = StreamFactory.GetStream(srcFile, FileAccess.Read))
     {
         await copiableTo.CopyTo(dstFile, srcStream);
         //await System.Threading.Tasks.Task.Run(async () => { await copiableTo.CopyTo(dstFile, srcStream); });
     }
 }