# ILocation Interface

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

Interface for Qlik Sense instance location handling

## Syntax

```
public interface ILocation : IGenericLocation, IDisposable
```

## Properties

| Name | Description |
| --- | --- |
| [CertificateValidation](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.CertificateValidation.htm#Qlik_Sense_JsonRpc_ILocation_CertificateValidation) | Indicates if invalid certificates should be ignored. |
| [SessionCookie](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.SessionCookie.htm#Qlik_Sense_JsonRpc_ILocation_SessionCookie) | Gets the session value cookie of the Qlik Sense instance. |
| [VirtualProxyPath](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.VirtualProxyPath.htm#Qlik_Sense_JsonRpc_ILocation_VirtualProxyPath) | Virtual path to the proxy. |

## Methods

| Name | Description |
| --- | --- |
| [AsAnonymousUserViaProxy(Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsAnonymousUserViaProxy.htm#Qlik_Sense_JsonRpc_ILocation_AsAnonymousUserViaProxy_System_Boolean_) | Defining the location as a connection to Qlik Sense as an anonymous user. |
| [AsDirectConnection(String, String, X509Certificate2Collection, Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsDirectConnection.htm#Qlik_Sense_JsonRpc_ILocation_AsDirectConnection_System_String_System_String_System_Security_Cryptography_X509Certificates_X509Certificate2Collection_System_Boolean_) | Defining the location as a direct connection to Qlik Sense using a specific user.<br>Connection will be made to port 4747 unless port is explicitly stated in location URI. |
| [AsDirectConnection(String, String, X509Certificate2Collection, Int32, Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsDirectConnection.htm#Qlik_Sense_JsonRpc_ILocation_AsDirectConnection_System_String_System_String_System_Security_Cryptography_X509Certificates_X509Certificate2Collection_System_Int32_System_Boolean_) | Defining the location as a direct connection to Qlik Sense using a specific user. |
| [AsDirectConnectionToPersonalEdition()](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsDirectConnectionToPersonalEdition.htm#Qlik_Sense_JsonRpc_ILocation_AsDirectConnectionToPersonalEdition) | Defining the location as a direct connection to Qlik Sense Personal.<br>Connection will be made to port 4848 unless port is explicitly stated in location URI. |
| [AsDirectConnectionToPersonalEdition(Int32)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsDirectConnectionToPersonalEdition.htm#Qlik_Sense_JsonRpc_ILocation_AsDirectConnectionToPersonalEdition_System_Int32_) | Defining the location as a direct connection to Qlik Sense Personal. |
| [AsExistingSessionViaProxy(String, String, Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsExistingSessionViaProxy.htm#Qlik_Sense_JsonRpc_ILocation_AsExistingSessionViaProxy_System_String_System_String_System_Boolean_) | Defining the location as a connection to Qlik Sense using an existing session. |
| [AsJwtViaProxy(String, Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsJwtViaProxy.htm#Qlik_Sense_JsonRpc_ILocation_AsJwtViaProxy_System_String_System_Boolean_) | Defining the location as a connection to Qlik Sense using JWT Authentication. |
| [AsNtlmUserViaProxy(NetworkCredential, Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsNtlmUserViaProxy.htm#Qlik_Sense_JsonRpc_ILocation_AsNtlmUserViaProxy_System_Net_NetworkCredential_System_Boolean_) | Defining the location as a connection to Qlik Sense using NTLM Authentication. |
| [AsStaticHeaderUserViaProxy(String, String, Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsStaticHeaderUserViaProxy.htm#Qlik_Sense_JsonRpc_ILocation_AsStaticHeaderUserViaProxy_System_String_System_String_System_Boolean_) | Defining the location as a static header connection to Qlik Sense using a specific user. |
| [AsTicketViaProxy(String, Boolean)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.ILocation.AsTicketViaProxy.htm#Qlik_Sense_JsonRpc_ILocation_AsTicketViaProxy_System_String_System_Boolean_) | Authenticate using an ticket retrieved from a Qlik Proxy Service (QPS). |