# IGenericLocation 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 accessing information relating to Qlik Sense locations.

## Syntax

```
public interface IGenericLocation
```

## Properties

| Name | Description |
| --- | --- |
| [CustomUserAgent](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.CustomUserAgent.htm#Qlik_Sense_JsonRpc_IGenericLocation_CustomUserAgent) | Custom HTTP user-agent header for identifying application. |
| [CustomUserCookies](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.CustomUserCookies.htm#Qlik_Sense_JsonRpc_IGenericLocation_CustomUserCookies) | Property for custom user cookies |
| [CustomUserHeaders](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.CustomUserHeaders.htm#Qlik_Sense_JsonRpc_IGenericLocation_CustomUserHeaders) | Property for custom user headers |
| [CustomUserUrlParameters](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.CustomUserUrlParameters.htm#Qlik_Sense_JsonRpc_IGenericLocation_CustomUserUrlParameters) | Property for custom url parameters |
| [EnablePing](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.EnablePing.htm#Qlik_Sense_JsonRpc_IGenericLocation_EnablePing) | If this property is set to `true` then a websocket will be opened at the first possible opportunity by forcing a dummy<br>RPC request to the engine. If the value is `false` then a websocket will be opened only when the first RPC request is made.<br>Default value is: `true` |
| [ServerUri](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.ServerUri.htm#Qlik_Sense_JsonRpc_IGenericLocation_ServerUri) | The Uri of the Qlik Sense server |
| [WebSocketProxy](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.WebSocketProxy.htm#Qlik_Sense_JsonRpc_IGenericLocation_WebSocketProxy) | The proxy for WebSocket requests. |

## Methods

| Name | Description |
| --- | --- |
| [AsManualConfiguration()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.AsManualConfiguration.htm#Qlik_Sense_JsonRpc_IGenericLocation_AsManualConfiguration) | Leave location without any configurations leaving it to the user to set headers, url parameters<br>and/or cookies according to own needs. |
| [GetWebSocketSessionContainer(ISession)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.GetWebSocketSessionContainer.htm#Qlik_Sense_JsonRpc_IGenericLocation_GetWebSocketSessionContainer_Qlik_Sense_JsonRpc_ISession_) | Method for retrieving a WebSocketSessionContainer based on the current location and the argument session. |
| [GetWebsocketUri(ISession, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IGenericLocation.GetWebsocketUri.htm#Qlik_Sense_JsonRpc_IGenericLocation_GetWebsocketUri_Qlik_Sense_JsonRpc_ISession_System_String_) | Returns the full Uri used when performing a websocket connection. |