Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Problem with extract files in c#
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
TheMrRAfus
11y
1.1k
1
Reply
Hello , i´m trying to extract all contents of a .jar files with CsharpZipLib
This is my code:
string appdata = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData);
string subFolderPath = System.IO.Path.Combine(appdata, ".minecraft");
string bin = System.IO.Path.Combine(subFolderPath, "bin");
string mc = System.IO.Path.Combine(bin, "minecraft.jar");
string test = System.IO.Path.Combine(subFolderPath, "aa");
using (ZipFile zip = ZipFile.Read(mc))
{
foreach (ZipEntry e in zip)
{
e.Extract(test);
When I execute the project only extract some folders, not all, I want to extract all folders and files in the .jar
Thanks
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
combining DLL
I am trying to print date time in MVC