Class SevenZipArchiveEntryEncrypted

Class SevenZipArchiveEntryEncrypted

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

نماینده یک فایل منفرد در آرشیو 7z.

public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry

وراثت

objectSevenZipArchiveEntrySevenZipArchiveEntryEncrypted

پیاده‌سازی‌ها

IArchiveFileEntry

اعضای وراثتی

SevenZipArchiveEntry.GetDestinationStream(Stream), SevenZipArchiveEntry.FinalizeCompressedData(Stream, byte[]), SevenZipArchiveEntry.Extract(string, string), SevenZipArchiveEntry.Extract(Stream, string), SevenZipArchiveEntry.Open(string), SevenZipArchiveEntry.Name, SevenZipArchiveEntry.ModificationTime, SevenZipArchiveEntry.UncompressedSize, SevenZipArchiveEntry.CompressedSize, SevenZipArchiveEntry.IsDirectory, SevenZipArchiveEntry.CompressionSettings, SevenZipArchiveEntry.Source, SevenZipArchiveEntry.FileAttributes, SevenZipArchiveEntry.CompressionProgressed, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

توضیحات

یک نمونه از Aspose.Zip.SevenZip.SevenZipArchiveEntry را به Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted تبدیل کنید تا تعیین کنید که آیا ورودی رمزگذاری شده است یا خیر.

متدها

FinalizeCompressedData(Stream, byte[])

نوشتن هر هدر که پس از داده‌های فشرده شده قرار دارد به جریان خروجی.

protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)

پارامترها

outputStream Stream

جریان خروجی برای ورودی.

encoderProperties byte[]

خصوصیات فشرده‌ساز.

بازگشت

int

تعداد بایت‌های “فنی” که پس از بلوک داده‌های معنادار ورودی اضافه شده‌اند.

استثناها

CryptographicException

کلید خراب است که می‌تواند باعث پدینگ نامعتبر در جریان شود.

NotSupportedException

بلوک نهایی قبلاً تبدیل شده است.

GetDestinationStream(Stream)

جریان مقصد برای ورودی، ممکن است تزئین شده باشد.

protected override Stream GetDestinationStream(Stream outputStream)

پارامترها

outputStream Stream

جریان خروجی برای ورودی.

بازگشت

Stream

جریان مقصد برای فشرده‌سازی ورودی.

 فارسی