This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Minimal async file copy using background worker | |
public class FileAsyncCopy | |
{ | |
private string _source; | |
private string _target; | |
BackgroundWorker _worker; | |
public FileAsyncCopy(string source, string target) | |
{ | |
if (!File.Exists(source)) |