src/BandcampDownloader/UI/Dialogs/Update/UserControlChangelog.xaml.cs
/// <summary>
/// Downloads the changelog file and returns its content.
/// </summary>
Downloads the changelog file and returns its content.
Downloads the changelog file and returns its content .
private async Task<string> DownloadChangelogAsync() {
            string changelog;
            using (var webClient = new WebClient() { Encoding = Encoding.UTF8 }) {
                ProxyHelper.SetProxy(webClient);
                changelog = await webClient.DownloadStringTaskAsync(Constants.UrlChangelog);
            }
            return changelog;
        }
private async Task < string > DownloadChangelogAsync ( ) { string changelog ; using ( var webClient = new WebClient ( ) { Encoding = Encoding . UTF8 } ) { ProxyHelper . SetProxy ( webClient ) ; changelog = await webClient . DownloadStringTaskAsync ( Constants . UrlChangelog ) ; } return changelog ; }
Downloads the changelog file and returns its content.
Downloads the changelog file and returns its content .