ZipFileExtensions.CreateEntryFromFile Method
.NET Framework (current version)
Â
Namespace:
Â
System.IO.Compression
Assembly: Â System.IO.Compression.FileSystem (in System.IO.Compression.FileSystem.dll)
Return to top
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Archives a file by compressing it and adding it to the zip archive.
Assembly: Â System.IO.Compression.FileSystem (in System.IO.Compression.FileSystem.dll)
Name | Description | |
---|---|---|
![]() ![]() | CreateEntryFromFile(ZipArchive, String, String) | Archives a file by compressing it and adding it to the zip archive. |
![]() ![]() | CreateEntryFromFile(ZipArchive, String, String, CompressionLevel) | Archives a file by compressing it using the specified compression level and adding it to the zip archive. |
Show: