private byte[] DownloadBinary(string filename) { Uri versionUrl = new Uri(updateServerUrl, filename); WebClient client = new WebClient(); log.Debug("Downloading from url: {0}", versionUrl); return client.DownloadData(versionUrl); }