# GetVariableListAsync Method

## Overloads

| [GetVariableListAsync(IApp)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetVariableListAsync.htm#Qlik_Sense_Client_AppExtensions_GetVariableListAsync_Qlik_Engine_IApp_) |  | This method creates and returns a session object that must be disposed to avoid session object leakage. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetVariableListAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.AppExtensions.GetVariableListAsync.htm)

## GetVariableListAsync(IApp)

This method creates and returns a session object that must be disposed to avoid session object leakage.

### Declaration

```

          public static Task<IVariableList> GetVariableListAsync(this IApp theApp)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [IApp](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.htm) | theApp |  |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[IVariableList](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.IVariableList.htm)&gt; |  |