#include “BlackIceDEVMODE.h”
BOOL GetFTPProxyAuthentication (BlackIceDEVMODE* pDevMode, DWORD dwConnectionID, int* iType);
Description
Gets the Authentication Method of the Proxy Server of the stored FTP connection, identified by dwConnectionID.
Parameters
BlackIceDEVMODE* pDevMode
Pointer to the BlackIceDEVMODE structure.
DWORD dwConnectionID
The ID of the connection. The ID can be attained by using the GetFTPConnectionByIndex, GetFTPConnectionByName, GetSelectedFTPConnection or the AddFTPConnection functions.
int* iType
Pointer to a variable that will receive the property. The returned value can be one of the values from the FTPProxyAuthentication enum:
enum FTPProxyAuthentication
{
FTP_PROXY_AUTH_BASIC = 0, // 0 – Basic authentication method
FTP_PROXY_AUTH_NTLM // 1 – NTLM authentication method
};
Return value
TRUE on success, otherwise FALSE.
Programming Notes
None
Code Example
None