API Reference
Class
AdmxDownloadService
Minimal downloader for ADMX assets with optional SHA-256 verification.
Inheritance
- Object
- AdmxDownloadService
Methods
public static async Task<String> DownloadAsync(AdmxAsset asset, String destinationDirectory) #Returns:
Task<String>Downloads the specified asset to a destination directory, verifying SHA-256 when provided.
Parameters
- asset ADPlayground.Gpo.GpoLocal.AdmxAsset
- Asset descriptor (URL and expected file name).
- destinationDirectory System.String
- Directory to write the downloaded file to.
Returns
Full path to the downloaded file.
Exceptions
InvalidOperationException– Thrown when SHA-256 does not match the expected value.