> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method SaveAsLocalPaczAsync

Namespace: [Phoenix.PaczAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI)\
Assembly: Phoenix.PaczAPI.dll

## SaveAsLocalPaczAsync(string)

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.

```csharp theme={null}
Task<IPacz> SaveAsLocalPaczAsync(string pacz)

```

### Parameters

`pacz` [string](https://learn.microsoft.com/dotnet/api/system.string)

The full path to the new pacz file to save to, including the .pacz extension

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[IPacz](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI.IPacz)>

A task that returns the newly created IPacz source object
