officefileapi-15101-zip-compression-and-archive-api-getting-started.md
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.
Start Microsoft Visual Studio and create a new Console Application project.
Install the DevExpress.Document.Processor NuGet package.
Paste the code below in the Main method of the Program.cs file ( Main procedure of the Module1.vb file for Visual Basic).
Run the project. The code example creates the Test.zip archive with all files encrypted using “123” password.
Create a new Console Application (.NET Framework) project.
Add a reference to the DevExpress.Docs.v25.2.dll library.
Paste the code below in the Main method of the Program.cs file ( Main procedure of the Module1.vb file for Visual Basic).
Run the project. The code example creates the Test.zip archive with all files encrypted using “123” password.
See Also