# AppsWithNameOrDefault Method

## Overloads

| [AppsWithNameOrDefault(ILocation, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppsWithNameOrDefault.htm#Qlik_Engine_LocationExtensions_AppsWithNameOrDefault_Qlik_Engine_ILocation_System_String_) |  | Connect to a Qlik Sense app with the name, and return a list of apps.<br>If you connect to a server, you can have multiple apps with the same name. On desktop you can only have one app with a specific name.<br>This method opens a temporary websocket connection. |
| --- | --- | --- |

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

## AppsWithNameOrDefault(ILocation, String)

Connect to a Qlik Sense app with the name, and return a list of apps. If you connect to a server, you can have multiple apps with the same name. On desktop you can only have one app with a specific name. This method opens a temporary websocket connection.

### Declaration

```

          public static IEnumerable<IAppIdentifier> AppsWithNameOrDefault(this ILocation location, string appName)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ILocation](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ILocation.htm) | location | Location object of the Qlik Sense instance |
| System.String | appName | Application name |

### Returns

| Type | Description |
| --- | --- |
| System.Collections.Generic.IEnumerable&lt;[IAppIdentifier](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAppIdentifier.htm)&gt; | An IEnumerable of IAppIdentifiers or default if no app with that name found |