-1

Is there any code for vb.net so i can zip and unzip file without any 3rd party programs. e.g. (i know this is not right)

 Using zip As ZipFile = New ZipFile
    zip.AddDirectory(directory)
    zip.Save(targetZip)
End Using
Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
Kuzon
  • 782
  • 5
  • 20
  • 49

1 Answers1

1

There's the ZipPackage class in .NET but it is such a PITA to use that you are probably better of using a third party library such as SharpZipLib.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928