Back to Devexpress

Get Started - Create a ZIP Archive

officefileapi-15101-zip-compression-and-archive-api-getting-started.md

latest1.5 KB
Original Source

Get Started - Create a ZIP Archive

  • May 07, 2025
  • 2 minutes to read

Important

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use these examples in production code.

This article describes how to get started with the ZIP compression component for .NET and .NET Framework.

Create a .NET Application

  1. Start Microsoft Visual Studio and create a new Console Application project.

  2. Install the DevExpress.Document.Processor NuGet package.

  3. Paste the code below in the Main method of the Program.cs file ( Main procedure of the Module1.vb file for Visual Basic).

  4. Run the project. The code example creates the Test.zip archive with all files encrypted using “123” password.

Create a .NET Framework Application

  1. Create a new Console Application (.NET Framework) project.

  2. Add a reference to the DevExpress.Docs.v25.2.dll library.

  3. Paste the code below in the Main method of the Program.cs file ( Main procedure of the Module1.vb file for Visual Basic).

  4. Run the project. The code example creates the Test.zip archive with all files encrypted using “123” password.

See Also

Zip Compression and Archive API Examples