GetFTPProxyType

 

Gets the type of the Proxy Server of the stored FTP connection, identified by iConnectionID.

 

GetFTPProxyType (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: Proxy Server is not used

1: SOCKS 4 proxy

2: SOCKS 4A proxy

3: SOCKS 5 proxy

4: HTTP proxy

 

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