Interface IPaczWriter
Last update: 19.06.2026Namespace: Phoenix.PaczAPI
Assembly: Phoenix.PaczAPI.dll
An API that wraps an extracted pacz and allows the caller to write it to different locations.
public interface IPaczWriter : IExtractedPacz, IReadOnlyExtractedPacz, IDisposable
Implements
IExtractedPacz, IReadOnlyExtractedPacz, IDisposable
Methods
Returns a protected read-only view of this object that cannot be typecasted back to IPaczWriter
ReReadConfigFromExtractionFolder()
Saves the current pacz to an uncompressed folder. Changes our
Phoenix.PaczAPI.IReadOnlyExtractedPacz.PaczSource value.
Saves the current pacz to a compressed .pacz file. The metadata and extracted
files are saved into the compressed .pacz. Changes our
Phoenix.PaczAPI.IReadOnlyExtractedPacz.PaczSource value.
Save the Pacz to Phoenix.PaczAPI.IPacz.SourceUri. If the source points to
a compressed .Pacz, the metadata and extracted files are stored into the
file. If the source points at an uncompressed folder, then the current
metadata is saved to the component.pacj file.
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
WriteConfigToExtractionFolderAsync()
Causes the current Phoenix.PaczAPI.IExtractedPacz.Config to be written to
the component.pacj file in Phoenix.PaczAPI.IReadOnlyExtractedPacz.ExtractionFolder