Class SevenZipArchiveEntryEncrypted
De naam: Aspose.Zip.SevenZip Verzameling: Aspose.Zip.dll (25.5.0)
Het vertegenwoordigt een enkel bestand binnen het 7z-archief.
public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry
Inheritance
object ← SevenZipArchiveEntry ← SevenZipArchiveEntryEncrypted
Implements
Geëerbiede leden
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
Stel een Aspose.Zip.SevenZip.SevenZipArchiveEntry-instantie in naar Aspose.Zip.SevenZip.SevenZipArchiveEntry Encrypt om te bepalen of de ingang is gecodeerd of niet.
Methods
FinalizeCompressedData(Stream en byte[])
Schrijf naar de output stream alle header die de gecomprimeerde gegevens volgt.
protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)
Parameters
outputStream
Stream
Uitgangstroom voor de ingang.
encoderProperties
byte
[]
Eigenschappen van de compressor.
Returns
Het aantal “technische” byten dat is toegevoegd na het invoeren van significante gegevensblokken.
Exceptions
De sleutel is corrupt, wat kan leiden tot invalid padding aan de stroom.
Het laatste blok is al veranderd.
GetDestinationStream(Stream)
De bestemming stroom voor de ingang, kan worden versierd.
protected override Stream GetDestinationStream(Stream outputStream)
Parameters
outputStream
Stream
Uitgangstroom voor de ingang.
Returns
De bestemmingstromen voor de ingangcompressie.