![]() |
|
Unzip Archive C# - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Programmers Gateway (https://lckb.dev/forum/forumdisplay.php?fid=196) +---- Forum: Coders Talk (https://lckb.dev/forum/forumdisplay.php?fid=192) +---- Thread: Unzip Archive C# (/showthread.php?tid=1564) |
- Nikolee - 02-01-2013 Hey, im working on a Launcher for Aion and im stucked at unzip the file ;D Here my code: //unzip using (ZipFile zip = ZipFile.Read(file)) { foreach (ZipEntry zipFiles in zip) { zipFiles.Extract(Root + "\\"+file+"\\", true); MessageBox.Show(Root + "\\" +file+ "\\"); } } //download new version file WebClient webClient = new WebClient(); webClient.DownloadFile(Server+"version.txt", @[member=Root1010]+"version"); //Delete Zip File deleteFile(file); But im stuck at the unzip in the right directory so if the file 1.zip contains the folder bin32 then extract the files in the bin32 folder.. Give me an example pls :=) - Nikolee - 02-01-2013 Fixxed.. I added in the .xml dokument "Filename" .. It works |