private void NotifyFinish_Received(NotifyFinish notify) { Console.WriteLine ("[Downloader] NotifyFinish"); Console.WriteLine ("[Downloader] NotifyFinish Url : {0}", notify.Url); Console.WriteLine ("[Downloader] NotifyFinish Id : {0}", notify.Download.Id); Console.WriteLine ("[Downloader] NotifyFinish Temporary : {0}", notify.Download.Temporary); Console.WriteLine ("[Downloader] NotifyFinish Description : {0}", notify.Download.Description); bool fileexists = File.Exists (notify.Download.Temporary); Console.WriteLine ("[Downloader] NotifyFinish fileexists : {0}", fileexists); if (_finished != null) { _finished.Invoke (notify.Url, notify.Download.Description, notify.Download.Temporary); } notify.FileLock.Set (); }