API Reference
Class
ArchiveInspector
Creates passive CAB/MSI inventories and bounded whole-member reads without filesystem extraction or installer execution.
Inheritance
- Object
- ArchiveInspector
Methods
Open 2 overloads
public static ArchiveInspection Open(String packagePath, ArchiveInspectionOptions? options = null, CancellationToken cancellationToken = default) #Returns:
ArchiveInspectionSnapshots one package into bounded memory and indexes its authored members without decoding their payloads.
Parameters
- packagePath System.String
- options OfficeIMO.Archives.ArchiveInspectionOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Exceptions
OfficeInspectionResourceLimitException– A configured or fixed managed admission ceiling is exhausted.InvalidDataException– The input is malformed or inconsistent.NotSupportedException– The input uses an unsupported container or metadata profile.
public static ArchiveInspection Open(Stream source, ArchiveInspectionOptions? options = null, CancellationToken cancellationToken = default) #Returns:
ArchiveInspectionSnapshots a readable seekable stream from its beginning, restores its original position on success or failure, and leaves it open. Later reads use the immutable snapshot and their own cancellation tokens.
Parameters
- source System.IO.Stream
- options OfficeIMO.Archives.ArchiveInspectionOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Exceptions
OfficeInspectionResourceLimitException– A configured or fixed managed admission ceiling is exhausted.InvalidDataException– The input is malformed or inconsistent.NotSupportedException– The input uses an unsupported container or metadata profile.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?