void wcfService_GetHashCompleted(object sender, getHashCompletedEventArgs e) { string hash_ = e.Result; if (hash != hash_) { var settings = IsolatedStorageSettings.ApplicationSettings; settings["hash"] = hash_; wcfService.getDiscountListAsync(); } else { bindingStoreData(); progress.Visibility = System.Windows.Visibility.Collapsed; } }