Class SevenZipArchiveEntryEncrypted

Class SevenZipArchiveEntryEncrypted

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

Đại diện cho một tệp đơn trong kho lưu trữ 7z.

public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry

Kế thừa

objectSevenZipArchiveEntrySevenZipArchiveEntryEncrypted

Triển khai

IArchiveFileEntry

Các thành viên kế thừa

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()

Nhận xét

Chuyển đổi một thể hiện của Aspose.Zip.SevenZip.SevenZipArchiveEntry thành Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted để xác định xem mục đã được mã hóa hay chưa.

Phương thức

FinalizeCompressedData(Stream, byte[])

Ghi vào luồng đầu ra bất kỳ tiêu đề nào theo sau dữ liệu nén.

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

Tham số

outputStream Stream

Luồng đầu ra cho mục.

encoderProperties byte[]

Các thuộc tính của bộ nén.

Trả về

int

Số byte “kỹ thuật” đã được thêm vào sau khối dữ liệu quan trọng của mục.

Ngoại lệ

CryptographicException

Khóa bị hỏng có thể gây ra đệm không hợp lệ cho luồng.

NotSupportedException

Khối cuối cùng đã được chuyển đổi.

GetDestinationStream(Stream)

Luồng đích cho mục, có thể được trang trí.

protected override Stream GetDestinationStream(Stream outputStream)

Tham số

outputStream Stream

Luồng đầu ra cho mục.

Trả về

Stream

Luồng đích cho việc nén mục.

 Tiếng Việt