Click or drag to resize

IArchiveExtractorExtractContent(Stream, String, String) Method

Extracts archive metadata and item information, if available, from supported split (multi-file) archive or media image formats.

Namespace: OpenDiscoverSDK.Interfaces.Extractors
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
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

ArchiveContent
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.
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).
See Also