Quantcast
Channel: sharpcompress Discussions Rss Feed
Browsing all 239 articles
Browse latest View live
↧

New Post: How to decompress a compressed string?

Thank you for your reply, it was just what I was over-looking.

View Article


New Post: Invalid compression output for PpmdStream

Test for version 0.10.3, .net4.0:static byte[] Pack(byte[] data) { var ppmdProp = new PpmdProperties(); using(var mem = new MemoryStream()) using (var ppmd = new PpmdStream(ppmdProp, mem, true)) {...

View Article


New Post: Invalid compression output for PpmdStream

I have to confess I don't know if that is a valid test or not. The PpmdProperties might need to be different for packing or unpacking in your code. The PPMD implementation was provided by another...

View Article

New Post: Avoiding SkipEntry when Disposing

I have to agree with the OP. The requirement to call SkipEntry() breaks the design pattern for streams, and for any IDisposable. If an object owns an IDisposable, it should be able to dispose it,...

View Article

New Post: Avoiding SkipEntry when Disposing

Your points are valid. The second sounds the most reasonable. How difficult it is to implement is the question :)

View Article


New Post: Multi part extraction in combination with password

Hi, First of all, very nice library!! I am wondering whether it is possible to extract multipart rars in combination with a password. Currently I'm using streams to achieve the multipart extraction,...

View Article

New Post: Detect is Zip needs password?

Hello I use this library in Windows Phone 8 and I cannot find the way how I can detect does file need password? There is no way to set password after I open stream var...

View Article

New Post: Detect is Zip needs password?

Sorry, I currently don't have a way to detect if a zip file requires a password other than not providing one then catching the CryptographicException. To set the password, ZipArchive.Open has an...

View Article


New Post: Multi part extraction in combination with password

I just added the facility to extract password protected archives on the RarArchive interface. However, the multi-archive encrypted archives aren't working for some reason. You're welcome to try to fix...

View Article


New Post: Add Index for IEntry

Hi, Would it be possible to add a property Index respresenting the index value of a IEntry ? Thanks

View Article

New Post: Rar archives and password

Hi, First of all, thanks for your hard work ! Forgive my bad english : I'm French =) Now I have a question : Is it possible to know if a password is ok or not while reading entries? In the RarReader...

View Article

New Post: Help with crc property

Sorry about my english I'm trying to get the CRC32 of a file ownership. However, the return shows a wrong result. here's the codeStream stream = File.OpenRead(@"C:\Test.rar"); var reader =...

View Article

New Post: Add/Remove entry in WinRT

Hi... is there any code example about doing this operations in WinRT? I'm unable to infer this code :( BTW this is a zip file with password

View Article


New Post: Add Index for IEntry

This really doesn't apply to most things. Dealing with items with the IEnumerable interface is the most efficient way across all formats.

View Article

New Post: Rar archives and password

Sorry, the only way to test the password is to try to actually decrypt the entries.

View Article


New Post: Help with crc property

CRC is broken in most places. I really haven't done the work to correct CRC for entries. Please add an issue on the Github site https://github.com/adamhathcock/sharpcompress

View Article

New Post: Monitoring zip progress with delegates?

Hey there! I'm really liking the flexibility of this library, but I was just wondering if there are delegates to monitor zipping progress? I'm looking through the code and can't seem to find any......

View Article


New Post: Multipart argument exception

I have been trying for some time now to get multipart extraction to work. I have a folder with a two part rar, a.rar and a.r00. Heres the code I am trying to use.var archive =...

View Article

New Post: Help with crc property

Dear Cesar, I don't see any issue at all. The CRC you are seeing (generated by the lib.) , is the same value reported in winrar. 4263732290 is decimal. FE236442 is hex. If you convert the number...

View Article

New Post: Monitoring zip progress with delegates?

I used my own method to know the progress. May be not the best one but it works fine for me.:var archive = SharpCompress.Archive.ArchiveFactory.Open(fileStream); int totalFileCount =...

View Article
Browsing all 239 articles
Browse latest View live


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