S2Images
public static class S2Images
1. Methods
1.1. EnsureImageElseExit(IServiceProvider, ISystemHost, IComputer, bool, AbsolutePath)
Ensures {netsetupRoot}/Images/{OS}/ exists. Skips download if image or archive is already there. netsetupRoot must point at the folder that contains Images/ — typically the ISO mount’s NETSetup/ or the installed target’s W:\NETSetup.
public static void EnsureImageElseExit(IServiceProvider serviceProvider, ISystemHost host, IComputer computer, bool isOnline, AbsolutePath netsetupRoot)
| Name | Type | Description |
|---|---|---|
serviceProvider |
IServiceProvider |
|
host |
ISystemHost |
|
computer |
IComputer |
|
isOnline |
bool |
|
netsetupRoot |
AbsolutePath |