# GetIncludeFileContentAsync Method

## Overloads

| [GetIncludeFileContentAsync(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetIncludeFileContentAsync.htm#Qlik_Engine_App_GetIncludeFileContentAsync_System_String_) |  | Gets the content of a file. |
| --- | --- | --- |
| [GetIncludeFileContentAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetIncludeFileContentAsync.htm#Qlik_Engine_App_GetIncludeFileContentAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Gets the content of a file. |
| [GetIncludeFileContentAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetIncludeFileContentAsync.htm#Qlik_Engine_App_GetIncludeFileContentAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Gets the content of a file. |

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

## GetIncludeFileContentAsync(String)

Gets the content of a file.

### Declaration

```

          public Task<string> GetIncludeFileContentAsync([QixName("qPath")] string path)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | ["lib:<br>OR<br>["lib:<br>[ ] should be used when the first variable contains a lib reference. |

### Returns

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

### Implements

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

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

## GetIncludeFileContentAsync(AsyncHandle, String)

Gets the content of a file.

### Declaration

```

          public Task<string> GetIncludeFileContentAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | path | ["lib:<br>OR<br>["lib:<br>[ ] should be used when the first variable contains a lib reference. |

### Returns

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

### Implements

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

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

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

Gets the content of a file.

### Declaration

```
public Task<T> GetIncludeFileContentAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qPath")] string path)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/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/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | path | ["lib:<br>OR<br>["lib:<br>[ ] should be used when the first variable contains a lib reference. |

### Returns

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

### Type Parameters

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

### Implements

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