Method UpdateSourceAsync
Last update: 19.06.2026Namespace: Phoenix.ComponentAPI
Assembly: Phoenix.ComponentAPI.dll
UpdateSourceAsync(IPacz, string, bool)
Generally meant to be used only internally by Phoenix Integration. Allows the
out of process host executable to reuse the directory already extracted by the OEM
process. Changes the value of Phoenix.PaczAPI.IReadOnlyExtractedPacz.PaczSource,
Phoenix.PaczAPI.IReadOnlyExtractedPacz.ExtractionFolder, and whether the extraction
folder should be deleted on dispose.
This also ReReads the Config from the new ExtractionFolder
Task UpdateSourceAsync(IPacz newSource, string extractionFolder, bool deleteOnDispose)
Parameters
newSource IPacz
The new source pacz for this writer
extractionFolder string
The new extraction folder for this writer
deleteOnDispose bool
Whether the extraction folder should be deleted on dispose
Returns
A task that indicates when the work is completed