# ActiveApp Method

## Overloads

| [ActiveApp(ILocation, IAppIdentifier, ISession)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.ActiveApp.htm#Qlik_Engine_LocationExtensions_ActiveApp_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_) |  | Connect to an already active Qlik Sense app.<br>This method opens a websocket connection. |
| --- | --- | --- |

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

## ActiveApp(ILocation, IAppIdentifier, ISession)

Connect to an already active Qlik Sense app. This method opens a websocket connection.

### Declaration

```

          public static IApp ActiveApp(this ILocation location, IAppIdentifier appIdentifier, ISession session = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ILocation](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ILocation.htm) | location | Location object of the Qlik Sense instance |
| [IAppIdentifier](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAppIdentifier.htm) | appIdentifier | Token to identify an unique app |
| [ISession](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ISession.htm) | session | Defines a specific app session, that can be connected to. |

### Returns

| Type | Description |
| --- | --- |
| [IApp](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.htm) | IApp |