News & Releases

Minimize
Nasosoft Component for .NET v3.8.0 Released - Wednesday, January 19, 2011

Nasosoft Component for .NET v3.8.0 has released with many improvements.

Nasosoft Component for .NET is a suite of comprehensive .NET controls, including EXCEL, PDF, and RTF document format engines, RTF to HTML, HTML to RTF, RTF to TEXT, HTML to TEXT document transform engines and ZIP, GZIP, TAR compression.

What's new

  • Nasosoft Transform
    • Support iFilter COM+ interfaces 
    • Convert different documents to Text with iFilter

 How to Download

 

Samples: Add Files to ZipArchieve

   Minimize
  Add Files to ZipArchieve Sample for C# and VB.NET


Download the sample here
 

[C#]

// Create a ZipArchive object to access the zipfile.
ZipArchive zip = new ZipArchive(zipFilename);
// Set password
zip.EncryptionPassword = password;
// Add files from the source folder that match the file mask
zip.AddFiles(sourceFolder, recursive, true, fileMask);

[VB.NET]

' Create a ZipArchive object to access the zipfile.
Dim zip As New ZipArchive(zipFilename)
' Set password
zip.EncryptionPassword = password
' Add files from the source folder that match the file mask
zip.AddFiles(sourceFolder, recursive, True, fileMask)