Class SevenZipArchiveEntryEncrypted
Namn på plats: Aspose.Zip.SevenZip Sammanfattning: Aspose.Zip.dll (25.5.0)
Representerar en enda fil inom 7z-arkiv.
public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry
Inheritance
object ← SevenZipArchiveEntry ← SevenZipArchiveEntryEncrypted
Implements
Arvsmedlemmar
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
Ange en Aspose.Zip.SevenZip.SevenZipArchiveEntry instans till Aspose.Zip.SevenZip.SevenZipArchiveEntryKrypterad för att avgöra om inmatningen är krypterad eller inte.
Methods
FinalizeCompressedData(Ström, byte[])
Skriv till output stream alla rubriker som följer komprimerade data.
protected override int FinalizeCompressedData(Stream outputStream, byte[] encoderProperties)
Parameters
outputStream
Stream
Utgångström för ingången.
encoderProperties
byte
[ ]
egenskaper hos kompressorn.
Returns
Antalet “tekniska” byter som läggs till efter inträde betydande data block.
Exceptions
Nyckeln är korrupt som kan orsaka invalid padding till strömmen.
Det slutliga blocket har redan omvandlats.
GetDestinationStream(Stream)
Destinationström för ingången, kan dekoreras.
protected override Stream GetDestinationStream(Stream outputStream)
Parameters
outputStream
Stream
Utgångström för ingången.
Returns
Destinationsström för ingångskompression.