wodFtpDLX ActiveX Control - CryptoInformation Method (wodFtpDLXCom)
      
 

Description

Called with details on selected encryption protocols.


Return Type

None  


Syntax

object.CryptoInformation Owner, Protocol, RemoteName, SCcipher, CScipher, Keys, Accept



The CryptoInformation Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodFtpNotify.
Owner Required. A wodFtpDLXCom object.
Protocol A String value. Specifies the selected protocol.
RemoteName A String value. Holds the remote identification string.
SCcipher A String value. Holds the selected server to client encryption algorithm.
CScipher A String value. Holds the selected client to server encryption algorithm.
Keys A String value. Holds the selected key exchange algorithm.
Accept A Boolean value. When set to False, wodFtpDLX will close the connection.
Remarks
 
This method is called only if you implemented IwodFtpNotify interface in your application, and wodFtpDLX.Notification property has received reference to instance of your implementation.

The CryptoInformation notification method is called after the first crypto negotiation has taken place, but before any sensitive information is sent to the server (such as username or password). This notification provides you with information about the selected encryption protocols and the remote server type.

At this point you can decide whether to continue with the connection, or to abort it (by setting the Accept parameter to False), in which case wodFtpDLX will drop the connection.

Note that this notification method is called only in secured protocols - it is not called for plaintext FTP.