Class SevenZipArchiveEntryEncrypted

Class SevenZipArchiveEntryEncrypted

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

Reprezentuje pojedynczy plik w archiwum 7z.

public class SevenZipArchiveEntryEncrypted : SevenZipArchiveEntry, IArchiveFileEntry

Dziedziczenie

objectSevenZipArchiveEntrySevenZipArchiveEntryEncrypted

Implementuje

IArchiveFileEntry

Członkowie dziedziczeni

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

Uwagi

Rzuć instancję Aspose.Zip.SevenZip.SevenZipArchiveEntry na Aspose.Zip.SevenZip.SevenZipArchiveEntryEncrypted, aby ustalić, czy wpis jest zaszyfrowany, czy nie.

Metody

FinalizeCompressedData(Stream, byte[])

Zapisuje do strumienia wyjściowego wszelkie nagłówki, które następują po skompresowanych danych.

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

Parametry

outputStream Stream

Strumień wyjściowy dla wpisu.

encoderProperties byte[]

Właściwości kompresora.

Zwraca

int

Liczba “technicznych” bajtów, które zostały dodane po znaczącym bloku danych wpisu.

Wyjątki

CryptographicException

Klucz jest uszkodzony, co może spowodować nieprawidłowe wypełnienie strumienia.

NotSupportedException

Ostatni blok został już przekształcony.

GetDestinationStream(Stream)

Strumień docelowy dla wpisu, może być dekorowany.

protected override Stream GetDestinationStream(Stream outputStream)

Parametry

outputStream Stream

Strumień wyjściowy dla wpisu.

Zwraca

Stream

Strumień docelowy dla kompresji wpisu.

 Polski