News & Releases

Minimize
Nasosoft Component for .NET v4.0.0 Released - Friday, April 20, 2012

Nasosoft Component for .NET v4.0.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 Barcodes
    • Support different types of industry standards 1D and 2D Barcodes.
    • Support XML serialization and deserialization.
    • Support different types of image formats, like jpeg, bitmap, png, and etc.
    • Support metafile image format.
  • Nasosoft PDF
    • Support drawing barcodes image in PDF file with Nasosoft.Barcodes.
    • Fixed several bugs in PdfDocumentEditor.

 How to Download

 
 

Samples: List GZip Archive Contents

   Minimize
  List GZip Archieve Content Sample for C# / VB.NET


Download the sample here
 

[C#]

// Create a GZipArchive object to access the zipfile.
 GZipArchive zip = new GZipArchive(zipFilename);

// Obtain a flat array of all the files contained in the zip file and its subfolders.
GZipFile[] files = zip.GetFiles(true, fileMask);

// Iterate on the returned array of AbstractFile objects, and print the full name
// of each file.
 foreach (GZipFile file in files)
        Console.WriteLine(file.FullName);

[VB.NET]

 ' Create a GZipArchive object to access the zipfile.
Dim zip As New GZipArchive(zipFilename)

' Obtain a flat array of all the files contained in the zip file and its subfolders.
Dim files As GZipFile() = zip.GetFiles(True, fileMask)

' Iterate on the returned array of AbstractFile objects, and print the full name
' of each file.
For Each file As GZipFile In files
    Console.WriteLine(file.FullName)
Next