AwbUpdater.Updater.GetAwbFromInternet C# (CSharp) Method

GetAwbFromInternet() private method

Check the addresses for the files are valid (not null or empty), and downloads the files from the internet
private GetAwbFromInternet ( ) : void
return void
        private void GetAwbFromInternet()
        {
            WebClient client = new WebClient {Proxy = _proxy};

            if (!string.IsNullOrEmpty(_awbWebAddress))
            {
                actuallyDownloadAWB(client, _awbWebAddress, Path.Combine(_tempDirectory, AWBZipName));
            }
            else if (!string.IsNullOrEmpty(_updaterWebAddress))
            {
                actuallyDownloadAWB(client, _updaterWebAddress, Path.Combine(_tempDirectory, _updaterZipName));
            }

            client.Dispose();

            progressUpdate.Value = 50;
        }