GetFTPSecurityMode

 

Gets the Security Mode property of the stored FTP connection identified by iConnectionID.

 

GetFTPSecurityMode (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 type of the connection. Can be one of the following values:

0: common unsecured FTP server

1: FTPS server in Explicit mode

2: FTPS server in Implicit mode

3: SFTP server

 

 

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