IArchive ExtractorExtract Content(String) Method
Extracts archive metadata and item information, if available, from non-split supported archive and 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(
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
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
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).