SetFTPTrustCertificate

 

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

 

SetFTPTrustCertificate (pDevMode As Long, iConnectionID As Integer, iValue As Integer) As Boolean

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value iConnectionID:

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

 

Input value iValue:

The new 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

 

Return value:

True on success, otherwise False.

 

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