'Declaration Public Event CertificateReceived As CertificateReceivedEventHandler
'Usage Dim instance As FtpConnection Dim handler As CertificateReceivedEventHandler AddHandler instance.CertificateReceived, handler
public event CertificateReceivedEventHandler CertificateReceived
Event Data
The event handler receives an argument of type CertificateReceivedEventArgs containing data related to this event. The following CertificateReceivedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Gets or sets the verification action to take when a certificate is received from an FTP server. |
Flags | Gets or sets the verification flags used to verify the FTP server's certificate. |
ServerCertificate | Gets the certificate received from the FTP server. |
Status | Gets the verification status of the certificate received from the FTP server. |
Remarks
This event is raised from an I/O thread. When performing GUI operations, the SynchronizingObject property must be set so that the library can raise the event on the main UI thread.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also