How to extract files from .CAB file using C # .Net?

I have a CAB file created with CABARC.EXE. I need to extract a file using ASP.Net C # .Net.

How to do this in C # .net itself? I do not want to use the same CABARC.EXE to extract. Because we do not use this tool in a working environment.

Please give your valuable suggestions / code to solve this problem.

Thanks in advance

Ganesha.

+4
source share
3 answers

I was looking for this for you.

http://www.codeproject.com/KB/files/CABCompressExtract.aspx

Looks like he is doing everything you need.

+2
source

If you need a C # inline solution, I suggest you start with the file specification for the CAB files:

http://msdn.microsoft.com/en-us/library/cc483132(EXCHG.80).aspx

+1
source

Take a look at https://docs.microsoft.com/en-us/previous-versions//bb267310(v=vs.85)#microsoft-cabinet-file-format

There you have a description of the file format for the CAB file.

-1
source

All Articles