# Close Method

## Overloads

| [Close()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IWebSocketSessionContainer.Close.htm#Qlik_Sense_JsonRpc_IWebSocketSessionContainer_Close) |  | Close an open connection to a Qlik Sense instance. Operation has no effect if the connection is not open. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IWebSocketSessionContainer.Close.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.JsonRpc.IWebSocketSessionContainer.Close.htm)

## Close()

Close an open connection to a Qlik Sense instance. Operation has no effect if the connection is not open.

### Declaration

```

          void Close()
    
  
```