AwbUpdater.Updater.Extract C# (CSharp) Method

Extract() private method

Code used to unzip the zip files to the temporary directory
private Extract ( string file ) : void
file string
return void
        private void Extract(string file)
        {
            try
            {
                new FastZip().ExtractZip(file, _tempDirectory, null);
            }
            catch (ZipException)
            {
                UpdateUI(Path.GetFileName(file) + " seems to be corrupt. Deleting the zip.", true);
                UpdateUI("Please confirm that sourceforge is up.", true);
                DeleteAbsoluteIfExists(file);
                throw new AbortException();
            }
            catch (Exception ex)
            {
                ErrorHandler.HandleException(ex);
                Application.Exit();
            }
        }