Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Extract Zip or Rar file using C# Netframework 4.0

$
0
0

Hello,

I need to Extract files from  *.zip  or *.rar file in my C# Windows Form application. It doesn't meter whether it will be zip file or rar file, I just need to be able to extract downloaded file.

I need folder with dll and XML files for my application that is about 170 MB - but when I use Winrar it becomes 20 Mb - So i thought it will be good idea to download compressed file and then extract it - that make it much faster.

I don't won't to use some extra DLL files.

Is there any framework function for that? - I use NetFramework 4.0  I have found the System.IO.Compression.GZipStream  - but I don't understand how to use it.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>