API Reference
Class
AdmxExtractService
Extracts ADMX/ADML content from common archive formats (ZIP cross‑platform; CAB on Windows via expand.exe).
Inheritance
- Object
- AdmxExtractService
Methods
Extract 2 overloads
public static IReadOnlyList<String> Extract(String archivePath, String destinationDirectory) #Returns:
IReadOnlyList<String>Extracts the given archive into the destination directory.
Parameters
- archivePath System.String
- Path to a ZIP or CAB file.
- destinationDirectory System.String
- Destination directory for extracted content.
Returns
List of extracted file paths.
Exceptions
PlatformNotSupportedException– Thrown when extracting a CAB on a non‑Windows platform.InvalidOperationException– Thrown when expand.exe fails to extract CAB contents.
public static IReadOnlyList<String> Extract(String archivePath, String destinationDirectory, CancellationToken cancellationToken) #Returns:
IReadOnlyList<String>Extracts the given archive into the destination directory.
Parameters
- archivePath System.String
- Path to a ZIP, CAB, MSI, or supported self-extracting EXE file.
- destinationDirectory System.String
- Destination directory for extracted content.
- cancellationToken System.Threading.CancellationToken
- Cancellation token used to stop external extractors.
Returns
List of extracted file paths.
Exceptions
PlatformNotSupportedException– Thrown when extracting a Windows-only package on a non-Windows platform.InvalidOperationException– Thrown when extraction fails.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object