Xceed .NET Libraries Documentation
CertificateReceived Event (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : CertificateReceived Event
Raised when an FTP server's certificate has been received and verified. Note: This event is not available in Xceed FTP for .NET Compact Framework because this product does not support Secure FTP.
Syntax
'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.

PropertyDescription
Gets or sets the verification action to take when a certificate is received from an FTP server.  
Gets or sets the verification flags used to verify the FTP server's certificate.  
Gets the certificate received from the FTP server.  
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