Class SevenZipArchiveEntryEncrypted

Class SevenZipArchiveEntryEncrypted

Il nome: Aspose.Zip.SevenZip Assemblea: Aspose.Zip.dll (25.5.0)

Represente un singolo file all’interno dell’archivio 7z.

public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry

Inheritance

object SevenZipArchiveEntry SevenZipArchiveEntryEncrypted

Implements

IArchiveFileEntry

I membri ereditari

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

Cast un Aspose.Zip.SevenZip.SevenZipArchiveEntry instanza a Aspose.Zip.SevenZip.SevenZipArchiveEntryCryptato per determinare se l’ingresso è crittografato o meno.

Methods

FinalizeCompressedData(Il flusso, il byte[])

Scrivi al flusso di uscita qualsiasi titolo che segue i dati compressi.

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

Parameters

outputStream Stream

Il flusso di uscita per l’ingresso.

encoderProperties byte [ ]

Proprietà del compressore.

Returns

int

Numero di “tecnici” byte che sono stati aggiunti dopo l’ingresso di un blocco di dati significativo.

Exceptions

CryptographicException

La chiave è corrotta che può causare un incrocio invalido al flusso.

NotSupportedException

Il blocco finale è già stato trasformato.

GetDestinationStream(Stream)

Il flusso di destinazione per l’ingresso, può essere decorato.

protected override Stream GetDestinationStream(Stream outputStream)

Parameters

outputStream Stream

Il flusso di uscita per l’ingresso.

Returns

Stream

Il flusso di destinazione per la compressione di ingresso.

 Italiano