![]() ![]() 7Zip SDK aka LZMA SDK - I guess I'm not smart enough to figure out how to use this (which is why I posted here).I referenced the project from my app, and it successfully created some archive files, but I was unable to extract the files using the regular 7-Zip program ( File.7z is not supported archive). 7zSharp Wrapper (found on CodePlex) - this wraps the 7z exe/ LZMA SDK.When I write the byte array to a file, I can't extract it using 7-Zip ( File.7z is not supported archive). The wrapper methods (wrapping the LZMA SDK) return type byte. 7Zip in memory compression - this refers to compressing cookies "in-memory" before sending to the client this method seems somewhat promising.As workmad3 mentions, I just need to guarantee that 7z.exe is installed on all target machines, which is something I can guarantee. "Shelling out" to 7z.exe - this is the simplest and most effective approach, and I can confirm that it works nicely.Here are my results with the examples provided as answers to this question How can I create 7-Zip archives from my C# console application? I need to be able to extract the archives using the regular, widely available 7-Zip program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |