Skip to content

Instantly share code, notes, and snippets.

View vaavaa's full-sized avatar
💭
...making step out of the universe edge :))

Andrey vaavaa

💭
...making step out of the universe edge :))
  • Almaty Kazakhstan
View GitHub Profile
@vaavaa
vaavaa / FileAsyncCopy
Created May 30, 2016 06:04 — forked from szunyog/FileAsyncCopy
Async file copy c#
// 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))