DeflateCompressionSettings.DeflateCompressionSettings

DeflateCompressionSettings constructor

初始化一个新的实例DeflateCompressionSettings类.

public DeflateCompressionSettings()

例子

using (Archive archive = new Archive(new ArchiveEntrySettings(new DeflateCompressionSettings())))
{
    archive.CreateEntry("data.bin", "data.bin");                   
    archive.Save(zipFile);
}

也可以看看