I have a test.xml file and want to convert into zip format and after again unzip file in c#. I have not got any good code that is simple and easy way to learn.
Thank you in Advance.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
kalu singh raoPosted Jun 7, 2014, 8:32 AM
kalu singh raoPosted Jun 7, 2014, 8:02 AM
Lakshmanan Sethu SankaranarayanPosted Jun 7, 2014, 7:54 AM
Please check the below article
http://www.codeguru.com/csharp/.net/zip-and-unzip-files-programmatically-in-c.htm
Shweta LodhaPosted Jun 7, 2014, 7:22 AM
If you are working with .Net 3.5, then you can go for ZipPackage class
If you are working with .Net 4.5, then you can go for ZipArchive class.
Please check out this: http://msdn.microsoft.com/en-us/library/ms404280(v=vs.110).aspx