View ZIP Files in C#

Cross-platform ZIP files viewing solution using server side GroupDocs.Viewer for .NET APIs, without depending on any third party software, pre-installed on your system.

 Download Free Trial
GroupDocs.Viewer for .NET

GroupDocs.Viewerfor .NET

About GroupDocs.Viewer for .NET API

Start viewing 170+ popular document formats in your .NET applications using GroupDocs.Viewer for .NET APIs by adding a few lines of code. Developers can easily display PDF, Word Processing, Excel Spreadsheet, Presentation, Visio, Project, Outlook and many other popular document formats in HTML5, image or PDF modes. The document rendering is fast, identical to the original source file, and it does not require installing Microsoft Office or any other external libraries.

Steps for Viewing ZIP File in C#

GroupDocs.Viewer makes it easy for .NET developers to add ZIP file viewing feature in their applications by implementing a few easy steps.

  • Create an instance of Viewer class and load the ZIP file with full path.
  • Set options for rendering ZIP file into PNG format.
  • Create view for rendered output file.

System Requirements

GroupDocs.Viewer for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installled on your system.

  • Operating Systems: Microsoft Windows, Linux, MacOS
  • Development Environments: Microsoft Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Get the latest version of GroupDocs.Viewer for .NET downloaded from Nuget

C# code snippet to view ZIP file

// Instantiate viewer
using (Viewer viewer = new Viewer(""))
	ViewOptions viewOptions = new PngViewOptions();

ZIP Viewer Live Demos

Display ZIP file right now by visiting GroupDocs.Viewer Live Demos website.
The live demo has the following benefits

  No need to download GroupDocs API.
  No need to write any code.
  Just upload the source file to have an instant display.
  Get the download link to save the file on your machine.

zipAbout ZIP File Format

ZIP file extension represents archives that can hold one or more files or directories. The archive can have compression applied to the included files in order to reduce the ZIP file size. ZIP file format was made public back in February 1989 by Phil Katz for achieving archiving of files and folders. The format was made part of PKZIP utility, created by PKWARE, Inc. Right after the availability of available specifications, many companies made ZIP file format part of their software utilities including Microsoft (since Windows 7), Apple (Mac OS X ) and many others.

Read More

Other File Formats Rendering & Viewing

Multi format documents and images viewer API for .NET. View some of the popular file formats below without any external viewers.

DOC Viewer (Microsoft Word Document)
DOCM Viewer (Microsoft Word Macro-Enabled Document)
DOCX Viewer (Microsoft Word Open XML Document)
DOT Viewer (Microsoft Word Document Template)
DOTM Viewer (Microsoft Word Macro-Enabled Template)
DOTX Viewer (Word Open XML Document Template)
RTF Viewer (Rich Text File Format)
TXT Viewer (Plain Text File Format)
XLS Viewer (Microsoft Excel Binary File Format)
XLSX Viewer (Microsoft Excel Open XML Spreadsheet)
XLSM Viewer (Microsoft Excel Macro-Enabled Spreadsheet)
XLSB Viewer (Microsoft Excel Binary Spreadsheet File)
XLTX Viewer (Microsoft Excel Open XML Template)
TSV Viewer (Tab Separated Values File)
XLAM Viewer (Microsoft Excel Macro-Enabled Add-In)
CSV Viewer (Comma Separated Values File)
PPT Viewer (PowerPoint Presentation)
PPS Viewer (Microsoft PowerPoint Slide Show)
PPTX Viewer (PowerPoint Open XML Presentation)
PPSX Viewer (PowerPoint Open XML Slide Show)
POTX Viewer (Microsoft PowerPoint Open XML Template)
POTM Viewer (Microsoft PowerPoint Template)
PPTM Viewer (Microsoft PowerPoint Presentation)
PPSM Viewer (Microsoft PowerPoint Slide Show)
PDF Viewer (Adobe Portable Document Format)
XPS Viewer (Open XML Paper Specification)
TEX Viewer (LaTeX Source Document)
ODS Viewer (Open Document Spreadsheet)
ODP Viewer (OpenDocument Presentation File Format)
OTP Viewer (Origin Graph Template)
ODT Viewer (Open Document Text)
OTT Viewer (Open Document Template)
VST Viewer (Microsoft Visio 2003-2010 XML Drawing)
TIFF Viewer (Tagged Image File Format)
JPEG Viewer (JPEG Image)
PNG Viewer (Portable Network Graphic)
GIF Viewer (Graphical Interchange Format File)
BMP Viewer (Bitmap File Format)
ICO Viewer (Microsoft Icon File)
PSD Viewer (Adobe Photoshop Document)
WMF Viewer (Windows Metafile)
EMF Viewer (Enhanced Metafile Format)
WEBP Viewer (Raster Web Image File Format)
SVG Viewer (Scalable Vector Graphics File)
JP2 Viewer (JPEG 2000 Core Image File)
MPP Viewer (Microsoft Project Document)
MPT Viewer (Microsoft Project Template)
HTML Viewer (Hyper Text Markup Language)
MHT Viewer (MIME Encapsulation of Aggregate HTML)
MHTML Viewer (MIME Encapsulation of Aggregate HTML)
MSG Viewer (Microsoft Outlook E-mail Message)
EML Viewer (E-mail Message)
ONE Viewer (Microsoft OneNote)
WMF Viewer (Windows Metafile)
EMF Viewer (Windows Enhanced Metafile)
PSD Viewer (Adobe Photoshop Document)
VSD Viewer (Microsoft Visio 2003-2010 Drawing)
VSDX Viewer (Microsoft Visio Drawing)
VSS Viewer (Microsoft Visio 2003-2010 Stencil)
VDX Viewer (Microsoft Visio 2003-2010 XML Drawing)
VDW Viewer (Microsoft Visio 2010 Web Drawing)
EPUB Viewer (Digital E-Book File Format)