When trying to download the attachment by something like this:
Code: Select all
using (var request = new WebClient())
{
request.Credentials = new NetworkCredential(_settings.UserName, _settings.Password);
return request.DownloadData(mantisAtt.download_url);
}
So my question is:
How can I programmatically download an attachment for an issue?