Skip to main content

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,666 times
Add to favorites
9/21/2016
E-mail Twitter del.icio.us Digg Facebook
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EncryptCompress", "EncryptCompress\EncryptCompress.csproj", "{1ECFC049-8087-4DDE-9736-102E7B82A57F}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{1ECFC049-8087-4DDE-9736-102E7B82A57F}.Debug|x86.ActiveCfg = Debug|x86
		{1ECFC049-8087-4DDE-9736-102E7B82A57F}.Debug|x86.Build.0 = Debug|x86
		{1ECFC049-8087-4DDE-9736-102E7B82A57F}.Release|x86.ActiveCfg = Release|x86
		{1ECFC049-8087-4DDE-9736-102E7B82A57F}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal