Class SevenZipArchiveEntryEncrypted

Class SevenZipArchiveEntryEncrypted

Името на пространството: Aspose.Zip.SevenZip Асамблея: Aspose.Zip.dll (25.5.0)

Представя един файл в 7Z архива.

public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry

Inheritance

object SevenZipArchiveEntry SevenZipArchiveEntryEncrypted

Implements

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

Remarks

Aspose.Zip.SevenZip.SevenZipArchiveEntry инстанция към Aspose.Zip.SevenZip.SevenZipArchiveEntry.

Methods

FinalizeCompressedData(Продължаване, byte[])

Напишете на изходния поток всички заглавия, които следват компресираните данни.

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

Parameters

outputStream Stream

Изходния поток за входа.

encoderProperties byte []

Свойства на компресора.

Returns

int

Брой “технически” байтове, които са били добавени след въвеждането на значителен блок данни.

Exceptions

CryptographicException

Ключът е корумпиран, което може да доведе до невалидно падиране на потока.

NotSupportedException

Окончателният блок вече е трансформиран.

GetDestinationStream(Stream)

Срокът на дестинация за входа, може да бъде украсен.

protected override Stream GetDestinationStream(Stream outputStream)

Parameters

outputStream Stream

Изходния поток за входа.

Returns

Stream

Пътят на дестинация за входна компресия.

 Български