private void ChecksumVerificationButton_Click(object sender, RoutedEventArgs e)
        {
            ChecksumVerificationButton.IsEnabled = false;

            string filePath = FilePathBox.Text;

            if (!GetAndValidateFile.ValidateFilePath(filePath))
            {
                return;
            }

            Checksum.HashingAlgoTypes selectedAlgo = FuntionBundle.IntToHashType(AlgoSelectorBox.SelectedIndex, filePath);

            //GenerateChecksum for file
            string GeneratedChecksum = Checksum.GenerateChecksumAsync(selectedAlgo, filePath).GetAwaiter().GetResult();

            CalculatedChecksumBlock.Text = GeneratedChecksum.ToLower();

            if (GeneratedChecksum.ToLower() == ChecksumTextBox.Text)
            {
                MessageBox.Show("Checksum is correct", "Result", MessageBoxButton.OK, MessageBoxImage.Information);
            }
            else
            {
                MessageBox.Show("Checksum is not correct", "Result", MessageBoxButton.OK, MessageBoxImage.Information);
            }

            ChecksumVerificationButton.IsEnabled = true;
        }
        private void GenerateChecksumButton_Click(object sender, RoutedEventArgs e)
        {
            string filePath = FilePathTextBox1.Text;

            if (!GetAndValidateFile.ValidateFilePath(filePath))
            {
                return;
            }

            Checksum.HashingAlgoTypes selectedAlgo = FuntionBundle.IntToHashType(AlgoSelectorBox.SelectedIndex, filePath);

            //GenerateChecksum for file
            string GeneratedChecksum = Checksum.GenerateChecksumAsync(selectedAlgo, filePath).GetAwaiter().GetResult();

            CheckSumBox1.Text = GeneratedChecksum.ToLower();
        }