locked
zip unzip using windows builtin RRS feed

  • Question

  • User1801501748 posted
    is there anyway we can use windows xp builtin functionality to compress(zip) and expand(unzip) files and folders., using C# or any .net language.?? is there a way to access windows, like "win api" in the past.?? thanks, prasad
    Tuesday, January 6, 2004 12:12 PM

All replies

  • User-1087604911 posted
    Theres very little need to go to the Win32 API as the BCL with 9800 managed classes is so feature rich that you can do virtually everything in managed code. That being said, I am not aware of any zip/unzip classes off the top of my head. If you must go to the Windows API, you use Platform Invoke (P/Invoke) a topic too complex for this topic. Search MSDN on P/Invoke.
    Saturday, January 10, 2004 3:49 PM
  • User763059395 posted
    Look for a library called SharpZip on the web. It is a very good tool for decompressing files and it has a .Net API.
    Wednesday, January 14, 2004 9:29 AM
  • User237419298 posted
    The site you're talking about is probably this one: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx.
    Sunday, March 14, 2004 10:07 PM