<div dir="ltr"><div>Hi to all, I do not know right place to ask my question</div><div>I am trying to develop an app for windows phone 8.1</div><div>my problem is that when I am trying to save the tags my app freeze .</div><div><br></div><div>my code is that:</div><div><br></div><div>code for Load:</div><div><br></div><div>private async Task LoadProperties()<br>{<br> var fileStream = await audioFile.OpenStreamForReadAsync();</div><div> var tag = TagLib.File.Create(new StreamFileAbstraction(audioFile.Name, fileStream));<br> tagFile = tag;</div><div> properties = tag.Properties;<br> var thumbnail = await audioFile.GetThumbnailAsync(ThumbnailMode.MusicView);</div><div> var bitmap = new BitmapImage();<br> bitmap.SetSource(thumbnail);<br> SongIco.Source = bitmap;</div><div> AlbumTB.Text = tagFile.Tag.Album;<br> AlbumArtistTB.Text = tagFile.Tag.JoinedAlbumArtists;<br>}</div><div><br></div><div>Code for Save:</div><div><br></div><div>StorageFile audioFile;<br>TagLib.Properties properties;<br>TagLib.File tagFile;</div><div><br>private async Task SaveProperties()<br>{            <br> tagFile.Tag.Performers[0] = ArtistTB.Text;<br> tagFile.Tag.Album = AlbumTB.Text;<br> tagFile.Tag.TrackCount = Convert.ToUInt32(Regex.Replace(TrackNumberTB.Text, @"[^\d]", ""));<br> tagFile.Tag.Year = Convert.ToUInt32(Regex.Replace(YearTB.Text, @"[^\d]", ""));</div><div> tagFile.Save();<br> var messageDialog = new MessageDialog("Tags Saved!!!");<br> await messageDialog.ShowAsync();<br>}</div><div><br></div><div>Just after "tagFile.Save();" everything freeze.</div><div>What I am doing wrong?</div><div><br></div><div>Thanks in advance</div></div>