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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -