GetFTPTrustCertificate

 

Gets the Trust Certificate property of the stored FTP connection identified by iConnectionID. This property describes how the Printer Driver is handling untrusted cerificates.

 

GetFTPTrustCertificate (pDevMode As Long, iConnectionID As Integer) As Integer

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value iConnectionID:

 The ID of the connection. The ID can be attained by using the GetFTPConnectionByIndex, GetFTPConnectionByName, GetSelectedFTPConnection or the AddFTPConnection methods.

 

Return value:

The current value of the property. Can be one of the following values:

0: A dialog pops with options to accept or reject the untrusted certificates

1: Always accept the certificate and do not show dialog

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.