I love this library. So simple to use. I'm using it to decompress images from a cbr file (rar file for comic book images).
It works fine! But I do get a NotSupportedException in debug everytime I run this code:
It works fine! But I do get a NotSupportedException in debug everytime I run this code:
using (IArchive archive = ArchiveFactory.Open(raStream.AsStream()))
{
var entry = archive.Entries.ElementAt(pageNumber);
MemoryStream stream = new MemoryStream();
entry.WriteTo(stream);
bitmapImage.SetSource(stream);
}
It shows up during the using statement. Mostly I just wanted to say thanks for writing this. But if there's a good reason I'm getting this exception, I wouldn't mind knowing why... :)