> ## 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 ExtractToTempFolderAsync

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

## ExtractToTempFolderAsync(string)

Tells the pacz to extract to a temp folder. You must call dispose on
the returned IPaczWriter object to clean up the extracted folder.

```csharp theme={null}
Task<IPaczWriter> ExtractToTempFolderAsync(string folderName = null)

```

### Parameters

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

### Returns

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

A task that returns the IPaczWriter for the extracted folder
