# LoadCertificateFromStore Method

## Overloads

| [LoadCertificateFromStore()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.CertificateManager.LoadCertificateFromStore.htm#Qlik_Engine_Communication_CertificateManager_LoadCertificateFromStore) |  | Loads the Qlik Sense certificate used for direct connections from the X509 current user store. |
| --- | --- | --- |

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

## LoadCertificateFromStore()

Loads the Qlik Sense certificate used for direct connections from the X509 current user store.

### Declaration

```

          public static X509Certificate2Collection LoadCertificateFromStore()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.Security.Cryptography.X509Certificates.X509Certificate2Collection | A certificate collection containing the Qlik Sense client certificate. |

### Exceptions

| Type | Condition |
| --- | --- |
| [CertificateManager.CertificatesNotFoundInStoreException](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.CertificateManager.CertificatesNotFoundInStoreException.htm) | Thrown if no certificate named "QlikClient" is found in store. |