IArchive ExtractorExtract Content(Stream, String, String) Method
Extracts archive metadata and item information, if available, from supported split (multi-file) archive or media image formats.
Definition
Namespace: OpenDiscoverSDK.Interfaces.Extractors
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
A ArchiveContent object. If Result value is WrongPassword then this archive requires a decryption password. User can make subsequent calls to this method using a password until Ok is returned or there are no more passwords to try.
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2026.2.6.0 (2026.02.06)
C#
ArchiveContent ExtractContent(
Stream[] splitSegmentStreamsInOrder,
string[] splitSegmentFilenamesInOrder,
string password = null
)Parameters
- splitSegmentStreamsInOrder Stream
- An array of all archive or media image split segment (files) Stream objects, in proper order. See helper method GetSplitSegmentStreamsInOrder(String, Stream, String).
- splitSegmentFilenamesInOrder String
- An array of archive split segment filenames (without path), in proper order. See helper method GetSplitSegmentStreamsInOrder(String, Stream, String).
- password String (Optional)
- Optional password (default is null). Check the returned Result value, if WrongPassword is the value then this archive requires a decryption password. User can make subsequent calls to this method using a password until Ok is returned or there are no more passwords to try.
Return Value
ArchiveContentA ArchiveContent object. If Result value is WrongPassword then this archive requires a decryption password. User can make subsequent calls to this method using a password until Ok is returned or there are no more passwords to try.
Remarks
To extract the split archive items see method ExtractItem(Int32, Stream, String). If split archive is solid block compressed (IsSolid is true)
then use method ExtractSolidBlockItems(GetItemStreamCallback, ItemExtractionFinishedCallback, String).