I have a CAB file generated from CABARC.EXE. I need to extract the file using ASP.Net C#.Net.
How to do it in C#.net itself? I don't want to use the same CABARC.EXE for extraction. Because we don't use this tool in production environment.
Please give your valuable sugg开发者_StackOverflow中文版estions/code to achieve this task.
Thanks in advance
Ganesh.
I googled this for you.
http://www.codeproject.com/KB/files/CABCompressExtract.aspx
Looks like it does everything you want.
If you want a native C# solution I suggest you start with the file specification for CAB files here:
http://msdn.microsoft.com/en-us/library/cc483132(EXCHG.80).aspx
Have a look at https://learn.microsoft.com/en-us/previous-versions//bb267310(v=vs.85)#microsoft-cabinet-file-format
There you have a file format description for the CAB file.
精彩评论