# GetEmptyScriptAsync Method

## Overloads

| [GetEmptyScriptAsync(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm#Qlik_Engine_App_GetEmptyScriptAsync_System_String_) |  | Creates a script that contains one section. This section contains **SET** statements that give localized information from the regional settings of the computer. |
| --- | --- | --- |
| [GetEmptyScriptAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm#Qlik_Engine_App_GetEmptyScriptAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Creates a script that contains one section. This section contains **SET** statements that give localized information from the regional settings of the computer. |
| [GetEmptyScriptAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm#Qlik_Engine_App_GetEmptyScriptAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Creates a script that contains one section. This section contains **SET** statements that give localized information from the regional settings of the computer. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm)

## GetEmptyScriptAsync(String)

Creates a script that contains one section. This section contains **SET** statements that give localized information from the regional settings of the computer.

### Declaration

```

          public Task<string> GetEmptyScriptAsync([QixName("qLocalizedMainSection")] string localizedMainSection = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | localizedMainSection | Name of the script section.<br>The default value is `Main` . |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.String&gt; |  |

### Implements

[IApp.GetEmptyScriptAsync(String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetEmptyScriptAsync.htm#Qlik_Engine_IApp_GetEmptyScriptAsync_System_String_)

### Remarks

The computer regional settings are retrieved when the engine starts.

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm)

## GetEmptyScriptAsync(AsyncHandle, String)

Creates a script that contains one section. This section contains **SET** statements that give localized information from the regional settings of the computer.

### Declaration

```

          public Task<string> GetEmptyScriptAsync(AsyncHandle asyncHandle, [QixName("qLocalizedMainSection")] string localizedMainSection = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | localizedMainSection | Name of the script section.<br>The default value is `Main` . |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.String&gt; |  |

### Implements

[IApp.GetEmptyScriptAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetEmptyScriptAsync.htm#Qlik_Engine_IApp_GetEmptyScriptAsync_Qlik_Engine_AsyncHandle_System_String_)

### Remarks

The computer regional settings are retrieved when the engine starts.

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetEmptyScriptAsync.htm)

## GetEmptyScriptAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String)

Creates a script that contains one section. This section contains **SET** statements that give localized information from the regional settings of the computer.

### Declaration

```
public Task<T> GetEmptyScriptAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qLocalizedMainSection")] string localizedMainSection = null)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | localizedMainSection | Name of the script section.<br>The default value is `Main` . |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |

### Implements

[IApp.GetEmptyScriptAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetEmptyScriptAsync.htm#Qlik_Engine_IApp_GetEmptyScriptAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_)

### Remarks

The computer regional settings are retrieved when the engine starts.