SevenZipExtractor
SevenZipExtractor copied to clipboard
C# wrapper for 7z.dll
Hello: I usually download a number of zipped files with multiple files inside, and default download drive is not big enough to hold many big files. Therefore, I want to...
``` var file = @"C:\Users\PC\Desktop\SelfExtractFile.exe"; var destination = @"C:\Users\PC\Desktop\"; using ( ArchiveFile archiveFile = new ArchiveFile(file)) { archiveFile.Extract(destination, true); } ``` I get: : 'Object reference not set to an...
There are a Windows-specific API calls that prevent running SevenZipExptractor on Linux: https://github.com/adoconnection/SevenZipExtractor/blob/master/SevenZipExtractor/Kernel32Dll.cs This code may do the trick: https://stackoverflow.com/questions/13461989/p-invoke-to-dynamically-loaded-library-on-mono https://github.com/gordonmleigh/Stugo.Interop
Any plans to port to .NET5? Would be great! Thx Patrick
I already tried, and I can unzip LZMA2 files without problem. But how can I have a Progress?
Hi! I have a project on .net 5 and I get an error when I try to unzip all occurrences, after which the application gets an unhandled exception and crashes....
It looks like bizp2 archives (.bz2) cannot be extracted at all. I tested the extraction, using the example program: ```cs using (ArchiveFile archiveFile = new ArchiveFile(@"C:\temp\test.txt.bz2")) { // extract all...
7-Zip can open vmdk files, however when I try to open them with SevenZipExtractor it throws an exception "Unable to guess format automatically". Any thoughts on how to get it...
Hi, In the main page, you mention that this is based of the CodeProject page (latest version of it on there is 1.5). On website of the guy who originally...
As it seems SevenZipExtractor cannot handle multi file archives, can it? ~~~xml File.7z.001 File.7z.002 File.7z.003 ~~~ ~~~c using(ArchiveFile archiveFile = new ArchiveFile("File.7z.001")) { archiveFile.Extract(extractPath); // extract all } ~~~ ->...