Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: System.NotImplemented exception with RAR files on stream copy (Windows Store App)

$
0
0
Hi again,

I managed to make this work by replacing the asyncornous calls with Streams with IArchiveEntry.writeTo() method:
InMemoryRandomAccessStream ras = new InMemoryRandomAccessStream();
using (Stream writeBufferStream = ras.AsStreamForWrite())
{
  entry.WriteTo(writeBufferStream);
}
This allows me to read individual RAR entries in my Windows Store app. I would still preferer to use the asynchronous Stream methods, so it might still be a good idea to look into it in the Library if you can.
Thanks for this great Library.

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>