AppUpdater.Server.DefaultUpdateServer.DownloadBinary C# (CSharp) Method

DownloadBinary() private method

private DownloadBinary ( string filename ) : byte[]
filename string
return byte[]
        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);
        }