Click or drag to resize
CertificateManagerLoadCertificateFromDirectory Method
Loads the Qlik Sense certificate used for direct connections from a folder.

Namespace: Qlik.Engine.Communication
Assembly: 
Syntax
public static X509Certificate2Collection LoadCertificateFromDirectory(
	string path,
	SecureString certificatePassword = null
)

Parameters

path
Type: SystemString
The path to the folder containing the certificates.
certificatePassword (Optional)
Type: System.SecuritySecureString
The password to use when reading the certificate.

Return Value

Type: X509Certificate2Collection
A certificate collection containing the Qlik Sense client certificate.
Exceptions
ExceptionCondition
DirectoryNotFoundExceptionThrown if argument directory is not found.
FileNotFoundExceptionThrown if argument directory does not contain a client certificate file.
See Also