# GetLibraryContentAsync Method

## Overloads

| [GetLibraryContentAsync(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetLibraryContentAsync.htm#Qlik_Engine_App_GetLibraryContentAsync_System_String_) |  | Returns the content of a library.<br><br>Global content library<br><br>In Qlik Sense Desktop, the content files are retrieved from:<br><br><br>`%userprofile%\Documents\Qlik\Sense\Content\Default`<br><br>In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.<br><br>App specific content library<br><br>The embedded files are returned. |
| --- | --- | --- |
| [GetLibraryContentAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetLibraryContentAsync.htm#Qlik_Engine_App_GetLibraryContentAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Returns the content of a library.<br><br>Global content library<br><br>In Qlik Sense Desktop, the content files are retrieved from:<br><br><br>`%userprofile%\Documents\Qlik\Sense\Content\Default`<br><br>In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.<br><br>App specific content library<br><br>The embedded files are returned. |
| [GetLibraryContentAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetLibraryContentAsync.htm#Qlik_Engine_App_GetLibraryContentAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Returns the content of a library.<br><br>Global content library<br><br>In Qlik Sense Desktop, the content files are retrieved from:<br><br><br>`%userprofile%\Documents\Qlik\Sense\Content\Default`<br><br>In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.<br><br>App specific content library<br><br>The embedded files are returned. |

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

## GetLibraryContentAsync(String)

Returns the content of a library.

#### Global content library

In Qlik Sense Desktop, the content files are retrieved from:

`%userprofile%\Documents\Qlik\Sense\Content\Default`

In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.

#### App specific content library

The embedded files are returned.

### Declaration

```

          public Task<StaticContentList> GetLibraryContentAsync([QixName("qName")] string name)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | name | Name of the content library.<br>It corresponds to the property `qContentLibraryListItem/qName` returned by the `GetContentLibraries method`. |

### Returns

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

### Implements

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

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

## GetLibraryContentAsync(AsyncHandle, String)

Returns the content of a library.

#### Global content library

In Qlik Sense Desktop, the content files are retrieved from:

`%userprofile%\Documents\Qlik\Sense\Content\Default`

In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.

#### App specific content library

The embedded files are returned.

### Declaration

```

          public Task<StaticContentList> GetLibraryContentAsync(AsyncHandle asyncHandle, [QixName("qName")] string name)
    
  
```

### 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 | name | Name of the content library.<br>It corresponds to the property `qContentLibraryListItem/qName` returned by the `GetContentLibraries method`. |

### Returns

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

### Implements

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

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

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

Returns the content of a library.

#### Global content library

In Qlik Sense Desktop, the content files are retrieved from:

`%userprofile%\Documents\Qlik\Sense\Content\Default`

In Qlik Sense Enterprise, the content files are retrieved from the Qlik Sense repository.

#### App specific content library

The embedded files are returned.

### Declaration

```
public Task<T> GetLibraryContentAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qName")] string name)
```

### 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 | name | Name of the content library.<br>It corresponds to the property `qContentLibraryListItem/qName` returned by the `GetContentLibraries method`. |

### Returns

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

### Type Parameters

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

### Implements

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