web client DownloadFileCompleted pobierz nazwę pliku

Próbowałem pobrać plik w ten sposób:

WebClient _downloadClient = new WebClient();

_downloadClient.DownloadFileCompleted += DownloadFileCompleted;
_downloadClient.DownloadFileAsync(current.url, _filename);

// ...

A po pobraniu muszę rozpocząć kolejny proces pobierania pliku, próbowałem użyćDownloadFileCompleted zdarzenie.

void DownloadFileCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
{
    if (e.Error != null)
    {
        throw e.Error;
    }
    if (!_downloadFileVersion.Any())
    {
        complited = true;
    }
    DownloadFile();
}

Ale nie mogę znać nazwy pobranego plikuAsyncCompletedEventArgs , Zrobiłem własne

public class DownloadCompliteEventArgs: EventArgs
{
    private string _fileName;
    public string fileName
    {
        get
        {
            return _fileName;
        }
        set
        {
            _fileName = value;
        }
    }

    public DownloadCompliteEventArgs(string name) 
    {
        fileName = name;
    }
}

Ale nie mogę zrozumieć, jak zamiast tego nazwać moje wydarzenieDownloadFileCompleted

Przepraszam, jeśli chodzi o pytanie o makaron

questionAnswers(2)

yourAnswerToTheQuestion