CreateEntryFromFile Method

ZipFileExtensions.CreateEntryFromFile Method

.NET Framework (current version)
 

Archives a file by compressing it and adding it to the zip archive.

Namespace:   System.IO.Compression
Assembly:  System.IO.Compression.FileSystem (in System.IO.Compression.FileSystem.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateEntryFromFile(ZipArchive, String, String)

Archives a file by compressing it and adding it to the zip archive.

System_CAPS_pubmethodSystem_CAPS_staticCreateEntryFromFile(ZipArchive, String, String, CompressionLevel)

Archives a file by compressing it using the specified compression level and adding it to the zip archive.

Return to top
Show:
© 2016 Microsoft