Free zip library c#




















Metadata for. NET is a full featured class library which allows users to read and edit metadata associated with various document, image, audio, video and many other formats. Parser for. NET is a useful parsing class library which allows to extract different data from documents of various formats. Score: 3. Works on. NET 4, 4. Rebex ZIP R6. Search for. NET applications. Developers can easily compress all the files available inside a directory and assign them into a single zip file.

ZIP is one of the most popular compression file format and gives users the facility to reduce the size of files. SharpZipLib gives software developers the ability to compress all the files inside a folder into a ZIP file and define a password for the created files.

It supports large number of files. The current maintainer of ziplib is David Pierson. Please contact him regarding features, bugs etc via the forum or the official repository at Github here.

Basically after the installation you will need to import the namespaces that you require to create ZIP files namely:. As usual on Our Code World, a code snippet means more than a thousand words, so we'll show in examples how you can achieve most of the tipical tasks when working with ZIP files with C. The following method compressDirectory shows how to compress all the files inside a directory string path and attach them into a single zip file.

The method expects as first argument the directory where the files are located, as second argument the path to the. If you want to define a password for the generated file, you only need to set the Password property of the ZipOutputStream instance with the password in string format:.

In this case, the password "ourcodeworld" will protect the access to the content of the zip file. The following method extracts the content of a zip file inside the specific folder. Zip File Class Reference Is this page helpful? Please rate your experience Yes No. Any additional feedback? Namespace: System. Compression Assembly: System. Provides static methods for creating, extracting, and opening zip archives. Note To use the ZipFile class in a. In this article.



0コメント

  • 1000 / 1000