Click or drag to resize

IArchiveExtractorExtractContent(String) Method

Extracts archive metadata and item information, if available, from non-split supported archive and 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(
	string password = null
)

Parameters

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

For split (multi-volume) archives, do NOT use this method, use method ExtractContent(Stream, String, String).

To extract archive items see method ExtractItem(Int32, Stream, String). If archive is solid compressed (IsSolid is true) then use method ExtractSolidBlockItems(GetItemStreamCallback, ItemExtractionFinishedCallback, String).

See Also