# AppWithId Method

## Overloads

| [AppWithId(ILocation, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppWithId.htm#Qlik_Engine_LocationExtensions_AppWithId_Qlik_Engine_ILocation_System_String_) |  | Connect to a Qlik Sense app with the app id.<br>This method opens a temporary websocket connection. |
| --- | --- | --- |

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

## AppWithId(ILocation, String)

Connect to a Qlik Sense app with the app id. This method opens a temporary websocket connection.

### Declaration

```

          public static IAppIdentifier AppWithId(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 |
| --- | --- |
| [IAppIdentifier](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAppIdentifier.htm) | IAppIdentifier |