IArchiveExtractorTestSolidBlockItems Method |
Tests the true expansion size of all solid block archive items without expanding the item data into memory or to file system.
Namespace: OpenDiscoverSDK.Interfaces.ExtractorsAssembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
SyntaxContentResult TestSolidBlockItems(
ItemTestFinishedCallback itemTestFinishedCallback,
string password = null
)
Parameters
- itemTestFinishedCallback ItemTestFinishedCallback
-
Callback delegate called for each solid block archive item that has finished testing for expanded (de-compressed) size.
- password String (Optional)
Optional password (default is null). Solid compressed archive items have the same password if encrypted because they are compressed and encrypted
together into solid block(s).
Check the returned ContentResult, if WrongPassword is the value, then 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
ContentResult
A
ContentResult enumerated result. If the returned value is
WrongPassword then the solid block compressed
archive items require 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
Upon a successful item test completion, each solid archive item's test result and tested expansion size will be returned by a
ItemTestFinishedCallback
callback.
See Also