Bonjour, me voila je veux trouver un moyen de compresser les fichiers dans mon application en C#.
J’ai trouve deux solutions, mais je sais pas laquelle est plus, hmm, avantageuse: J# par java.utils.zip ou bien SharpZipLib (opensource, en C#).
Citation Envoyé par Ianier Munoz
I wanted to use Zip compression in my applications written in C#. Unfortunately, the Microsoft® .NET Framework does not currently include any classes for manipulating Zip files. I did, however, find several products related to Zip compression. For example, #ziplib (formerly NZipLib, http://www.icsharpcode.net/OpenSource/SharpZipLib/default.asp) is a port of zlib library to C#. Its license allows developers to include this library in commercial, closed-source applications. However, as MSDN Magazine goes to press, #ziplib is in its prerelease state (version 0.31).

Another solution would be to use the unmanaged zlib as a Windows® DLL and write the necessary Interop wrappers for it, but since compression involves passing around a significant amount of data during each function call, coding Interop wrappers for optimum performance would be a difficult process. Although other libraries are available, they are not free.
The C# language doesn't have any classes that let you manipulate Zip files, but since .NET-targeted languages can share class implementations, and J# exposes classes in the java.util.zip namespace, you can get to those classes in your C# code.
c'est probablement un troll , bah me voila...