When I attempt to call DownloadFileAsync my program crashes with the error "WebClient does not support concurrent I/O operations." What should I do to fix this?
WebClient klient = new WebClient();
MatchCollection matches = Regex.Matches(storage, pattern);
Match[] odkazy = new Match[matches.Count];
List<string> neco = new List<string> { };
for (int i=0;i<matches.Count;i++)
{
matches.CopyTo(odkazy, 0);
string ano = odkazy[i].ToString();
neco.Add(ano);
klient.DownloadFileAsync(new Uri(neco[i]), @"c:\picture{0}.png",i);
Debug.WriteLine(neco[i]);
}