How to Create a Zip File with Password

The C# sample code demonstrates how to create an encrypted and zipped file using AesCryptoServiceProvider and ZipPackage class.

C# (324.1 KB)
 
 
 
 
 
3.8 Star
(4)
1,615 times
Add to favorites
9/21/2016
E-mail Twitter del.icio.us Digg Facebook
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ds:datastoreItem ds:itemID="{5725B5A0-5106-46D1-A614-E77B4BA49AF6}" xmlns:ds="http://schemas.openxmlformats.org/officeDocument/2006/customXml"><ds:schemaRefs><ds:schemaRef ds:uri="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"/></ds:schemaRefs></ds:datastoreItem>