# HasAppWithId Method

## Overloads

| [HasAppWithId(ILocation, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.HasAppWithId.htm#Qlik_Engine_LocationExtensions_HasAppWithId_Qlik_Engine_ILocation_System_String_) |  | Check if location has app with id.<br>This method opens a temporary websocket connection. |
| --- | --- | --- |

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

## HasAppWithId(ILocation, String)

Check if location has app with id. This method opens a temporary websocket connection.

### Declaration

```

          public static bool HasAppWithId(this ILocation location, string appId)
    
  
```

### 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 | appId | App identification |

### Returns

| Type | Description |
| --- | --- |
| System.Boolean | True if location has an app with id |