La méthode ZipOutputStream.PutNextEntry de la bibliothèque ICSharpCode.SharpZipLib.Zip permet de spécifier la prochaine entrée, c'est-à-dire le prochain fichier ou dossier à compresser dans une archive zip en utilisant C#. Cette méthode permet de créer une nouvelle entrée dans le flux de sortie de l'archive zip, prête à être compressée. Le paramètre de cette méthode peut être un nom de fichier relatif ou absolu ainsi que d'autres propriétés de l'entrée, telles que la taille, les attributs, les dates de création et de modification. Utiliser cette méthode est essentiel pour compresser efficacement des fichiers dans une archive zip en C#.
C# (CSharp) ICSharpCode.SharpZipLib.Zip ZipOutputStream.PutNextEntry - 51 exemples trouvés. Ce sont les exemples réels les mieux notés de ICSharpCode.SharpZipLib.Zip.ZipOutputStream.PutNextEntry extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Starts a new Zip entry. It automatically closes the previous entry if present. All entry elements bar name are optional, but must be correct if present. If the compression method is stored and the output is not patchable the compression for that entry is automatically changed to deflate level 0
/// if entry passed is null.
///
/// if an I/O error occured.
///
/// if stream was finished
///
/// Too many entries in the Zip file
/// Entry name is too long
/// Finish has already been called
///