Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to Zip Folder in C#

How to Zip Folder in C#

Scheduled Pinned Locked Moved C#
csharphelptutorial
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sunil G 3
    wrote on last edited by
    #1

    Hi All, I want to zip a folder in C# without any third party dll. Can any body help me out. Thanks, Sunil G.

    D A B L 4 Replies Last reply
    0
    • S Sunil G 3

      Hi All, I want to zip a folder in C# without any third party dll. Can any body help me out. Thanks, Sunil G.

      D Offline
      D Offline
      Dennis E White
      wrote on last edited by
      #2

      not sure what version of .Net but take a look at the following: ZipPackage Class hope it helps.

      1 Reply Last reply
      0
      • S Sunil G 3

        Hi All, I want to zip a folder in C# without any third party dll. Can any body help me out. Thanks, Sunil G.

        A Offline
        A Offline
        Abhinav S
        wrote on last edited by
        #3

        C# Zip Files and/or Folders[^] could help you out.

        Too much of heaven can bring you underground Heaven can always turn around Too much of heaven, our life is all hell bound Heaven, the kill that makes no sound

        1 Reply Last reply
        0
        • S Sunil G 3

          Hi All, I want to zip a folder in C# without any third party dll. Can any body help me out. Thanks, Sunil G.

          B Offline
          B Offline
          BobJanova
          wrote on last edited by
          #4

          If you actually want to make a ZIP compatible file, I strongly recommend SharpZipLib. It's a third party DLL but so what? ... you are almost certainly already deploying more than one file, unless there is a really good reason not to use a library you should do so. It's free and doesn't have license restrictions that stop you using it.

          1 Reply Last reply
          0
          • S Sunil G 3

            Hi All, I want to zip a folder in C# without any third party dll. Can any body help me out. Thanks, Sunil G.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            The deflator in .NET is bad[^]. I can't think of any reason to use it, but maybe you have one. If you do, we can help you better if you share that reason.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups