Class SevenZipEntrySettings

Class SevenZipEntrySettings

Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)

הגדרות שמשמשות לדחיסה או לפריסת רשומות 7Z.

public class SevenZipEntrySettings

ירושה

objectSevenZipEntrySettings

חברים מורשים

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

בונים

SevenZipEntrySettings(SevenZipCompressionSettings, SevenZipEncryptionSettings)

מאתחל מופע חדש של מחלקת Aspose.Zip.Saving.SevenZipEntrySettings.

public SevenZipEntrySettings(SevenZipCompressionSettings compressionSettings = null, SevenZipEncryptionSettings encryptionSettings = null)

פרמטרים

compressionSettings SevenZipCompressionSettings

הגדרות לדחיסה. העבר null עבור הגדרות LZMA ברירת מחדל.

יכול להיות אחד מאלה:

  • Aspose.Zip.Saving.SevenZipLZMACompressionSettings
  • Aspose.Zip.Saving.SevenZipLZMA2CompressionSettings
  • Aspose.Zip.Saving.SevenZipBZip2CompressionSettings
  • Aspose.Zip.Saving.SevenZipStoreCompressionSettings
  • Aspose.Zip.Saving.SevenZipPPMdCompressionSettings

encryptionSettings SevenZipEncryptionSettings

הגדרות להצפנה. העבר null אם אין צורך להצפין או לפרוס.

יכול להיות רק אחד:

  • Aspose.Zip.Saving.SevenZipAESEncryptionSettings

מאפיינים

CompressHeader

מקבל או קובע ערך המצביע אם לדחוס את כותרת הארכיון.

public bool CompressHeader { get; set; }

ערך המאפיין

bool

הערות

הגדרה זו שווה לסוויץ’ -mhc=on של כלי 7-Zip. נכון לעכשיו, היא אינה תואמת להצפנת כותרת.

CompressionSettings

מקבל את ההגדרות עבור שגרת דחיסה או פריסה.

public SevenZipCompressionSettings CompressionSettings { get; }

ערך המאפיין

SevenZipCompressionSettings

EncryptionSettings

מקבל את ההגדרות עבור הצפנה או פריסה. ההגדרות של רשומה מסוימת עשויות להשתנות.

public SevenZipEncryptionSettings EncryptionSettings { get; }

ערך המאפיין

SevenZipEncryptionSettings

הערות

ההגדרות של Aspose.Zip.Saving.SevenZipAESEncryptionSettings הן האפשרות היחידה של ארכיוני 7Z.

 Ελληνικά