# IQcsLocation Interface

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

Interface for Qlik Cloud Services location handling.

## Syntax

```
public interface IQcsLocation : IGenericLocation
```

## Properties

| Name | Description |
| --- | --- |
| [SessionInfo](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.SessionInfo.htm#Qlik_Sense_JsonRpc_IQcsLocation_SessionInfo) | Returns the session information associated with the current connection. |

## Methods

| Name | Description |
| --- | --- |
| [AsApiKey(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsApiKey.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsApiKey_System_String_) | Configure the location to use an API key for authentication. |
| [AsExistingSession(JObject)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsExistingSession_Newtonsoft_Json_Linq_JObject_) | Configure the location to use an already existing session. |
| [AsExistingSession(QcsSessionInfo)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsExistingSession_Qlik_Sense_JsonRpc_QcsSessionInfo_) | Configure the location to use an already existing session. |
| [AsExistingSession(String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsExistingSession.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsExistingSession_System_String_System_String_System_String_) | Configure the location to use an already existing session. |
| [AsJwt(String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IQcsLocation.AsJwt.htm#Qlik_Sense_JsonRpc_IQcsLocation_AsJwt_System_String_) | Configure the location to use a JSON Web Token for authentication. |