# QlikConnection Constructor

## Overloads

| [QlikConnection(IGenericLocation, ISession)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.QlikConnection.-ctor.htm#Qlik_Engine_Communication_QlikConnection__ctor_Qlik_Sense_JsonRpc_IGenericLocation_Qlik_Engine_ISession_) |  | Creates a new connection to a Qlik Sense instance based on a known location and specific session |
| --- | --- | --- |

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

## QlikConnection(IGenericLocation, ISession)

Creates a new connection to a Qlik Sense instance based on a known location and specific session

### Declaration

```

          public QlikConnection(IGenericLocation location, ISession session)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [IGenericLocation](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.htm) | location | The location |
| [ISession](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ISession.htm) | session | Session information |