Extracting .rar Files in C# -


this question has answer here:

i'm trying make auto update function little tool i'm making. got point when downloads .rar file, have extract .rar file. i'm using ionic.zip(a refference), this:

zipfile zipfile = new zipfile(path.getdirectoryname(application.executablepath) + @"\tool[" + program.newversion + "].rar"); zipfile.extractall(application.startuppath); 

but when running gives me "system.reflection.targetinvocation" exception... knows i'm doing wrong or has solution extracting.rar files!?

dotnetzip / ionic not support .rar files:

can dotnetzip read or write rar files?

no. dotnetzip zip files.

- http://dotnetzip.codeplex.com/

you can use sharpcompress though, support .rar files among other extensions.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -