# LocationExtensions Class

Namespace: [Qlik.Engine](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.htm)  
Assembly: Qlik.Engine.dll

Some locations need to be accessed in a specific way, the default is using NTML Authentication to connect against a server installation and will not require any specific setup.

## Inheritance

* System.Object
  * LocationExtensions

## Syntax

```
public static class LocationExtensions
```

## Methods

| Name | Description |
| --- | --- |
| [ActiveApp(ILocation, IAppIdentifier, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/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. |
| [ActiveAppAsync(ILocation, IAppIdentifier, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.ActiveAppAsync.htm#Qlik_Engine_LocationExtensions_ActiveAppAsync_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_) | Connect to an already active Qlik Sense app<br>This method opens a websocket connection. |
| [App(ILocation, IAppIdentifier, ISession, Boolean)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.App.htm#Qlik_Engine_LocationExtensions_App_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_System_Boolean_) | Connect to a Qlik Sense app.<br>This method opens a websocket connection. |
| [App(ILocation, String, ISession, Boolean)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.App.htm#Qlik_Engine_LocationExtensions_App_Qlik_Engine_ILocation_System_String_Qlik_Engine_ISession_System_Boolean_) | Connect to a Qlik Sense app.<br>This method opens a websocket connection. |
| [AppAsync(ILocation, AsyncHandle, IAppIdentifier, ISession, Boolean)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppAsync.htm#Qlik_Engine_LocationExtensions_AppAsync_Qlik_Engine_ILocation_Qlik_Engine_AsyncHandle_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_System_Boolean_) | Connect to a Qlik Sense app.<br>This method opens a websocket connection. |
| [AppAsync(ILocation, AsyncHandle, String, ISession, Boolean)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppAsync.htm#Qlik_Engine_LocationExtensions_AppAsync_Qlik_Engine_ILocation_Qlik_Engine_AsyncHandle_System_String_Qlik_Engine_ISession_System_Boolean_) | Connect to a Qlik Sense app.<br>This method opens a websocket connection. |
| [AppAsync(ILocation, IAppIdentifier, ISession, Boolean)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppAsync.htm#Qlik_Engine_LocationExtensions_AppAsync_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_System_Boolean_) | Connect to a Qlik Sense app.<br>This method opens a websocket connection. |
| [AppAsync(ILocation, String, ISession, Boolean)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppAsync.htm#Qlik_Engine_LocationExtensions_AppAsync_Qlik_Engine_ILocation_System_String_Qlik_Engine_ISession_System_Boolean_) | Connect to a Qlik Sense app.<br>This method opens a websocket connection. |
| [AppsWithNameOrDefault(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/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. |
| [AppWithId(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/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. |
| [AppWithIdOrDefault(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppWithIdOrDefault.htm#Qlik_Engine_LocationExtensions_AppWithIdOrDefault_Qlik_Engine_ILocation_System_String_) | Connect to a Qlik Sense app with the app id.<br>This method opens a temporary websocket connection. |
| [AppWithNameOrCreate(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppWithNameOrCreate.htm#Qlik_Engine_LocationExtensions_AppWithNameOrCreate_Qlik_Engine_ILocation_System_String_) | Connect to a Qlik Sense app with the name or create it if it does not exists.<br>This method opens a temporary websocket connection. |
| [AppWithNameOrDefault(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.AppWithNameOrDefault.htm#Qlik_Engine_LocationExtensions_AppWithNameOrDefault_Qlik_Engine_ILocation_System_String_) | Connect to a Qlik Sense app with the name.<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>If you have multiple apps with the same name on the server this method will return the first app in the list. If you would like to get all<br>the apps with a specific name please use the method AppsWithNameOrDefault.<br>This method opens a temporary websocket connection. |
| [CreateAppWithName(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.CreateAppWithName.htm#Qlik_Engine_LocationExtensions_CreateAppWithName_Qlik_Engine_ILocation_System_String_) | Create an application with given name.<br>This method opens a temporary websocket connection. |
| [Delete(ILocation, IAppIdentifier)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.Delete.htm#Qlik_Engine_LocationExtensions_Delete_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_) | Deletes the application.<br>This method opens a temporary websocket connection. |
| [GetAppIdentifiers(ILocation)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.GetAppIdentifiers.htm#Qlik_Engine_LocationExtensions_GetAppIdentifiers_Qlik_Engine_ILocation_) | Get a list of app identifiers.<br>This method opens a temporary websocket connection. |
| [GetAppIdentifiersAsync(ILocation)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.GetAppIdentifiersAsync.htm#Qlik_Engine_LocationExtensions_GetAppIdentifiersAsync_Qlik_Engine_ILocation_) | Get a list of app identifiers.<br>This method opens a temporary websocket connection. |
| [HasAppWithId(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/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. |
| [HasAppWithName(ILocation, String)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.HasAppWithName.htm#Qlik_Engine_LocationExtensions_HasAppWithName_Qlik_Engine_ILocation_System_String_) | Checks if there is an application with a specific name.<br>This method opens a temporary websocket connection. |
| [Hub(ILocation, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.Hub.htm#Qlik_Engine_LocationExtensions_Hub_Qlik_Engine_ILocation_Qlik_Engine_ISession_) | Connect to the Qlik Sense hub.<br>This method opens a websocket connection. |
| [HubAsync(ILocation, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.HubAsync.htm#Qlik_Engine_LocationExtensions_HubAsync_Qlik_Engine_ILocation_Qlik_Engine_ISession_) | Connect to the Qlik Sense hub.<br>This method opens a websocket connection. |
| [IsAlive(ILocation)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.IsAlive.htm#Qlik_Engine_LocationExtensions_IsAlive_Qlik_Engine_ILocation_) | Checks if the connection is alive<br>This method opens a temporary websocket connection. |
| [SessionApp(ILocation, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionApp.htm#Qlik_Engine_LocationExtensions_SessionApp_Qlik_Engine_ILocation_Qlik_Engine_ISession_) | Create and connect to a new session app.<br>This method opens a websocket connection. |
| [SessionAppAsync(ILocation, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppAsync.htm#Qlik_Engine_LocationExtensions_SessionAppAsync_Qlik_Engine_ILocation_Qlik_Engine_ISession_) | Create and connect to a new session app.<br>This method opens a websocket connection. |
| [SessionAppFromApp(ILocation, IAppIdentifier, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromApp.htm#Qlik_Engine_LocationExtensions_SessionAppFromApp_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_) | Create and connect to a new session app based on another app.<br>This method opens a websocket connection. |
| [SessionAppFromApp(ILocation, String, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromApp.htm#Qlik_Engine_LocationExtensions_SessionAppFromApp_Qlik_Engine_ILocation_System_String_Qlik_Engine_ISession_) | Create and connect to a new session app based on another app.<br>This method opens a websocket connection. |
| [SessionAppFromAppAsync(ILocation, IAppIdentifier, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm#Qlik_Engine_LocationExtensions_SessionAppFromAppAsync_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_) | Create and connect to a new session app based on another app.<br>This method opens a websocket connection. |
| [SessionAppFromAppAsync(ILocation, String, ISession)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm#Qlik_Engine_LocationExtensions_SessionAppFromAppAsync_Qlik_Engine_ILocation_System_String_Qlik_Engine_ISession_) | Create and connect to a new session app based on another app.<br>This method opens a websocket connection. |