Xceed .NET Libraries Documentation
CertificateRequired Event (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : CertificateRequired Event
Raised when a client certificate is required by the FTP server, or the one provided (if e.Certificate is not a null reference (Nothing in Visual Basic)) was rejected.
Syntax
'Declaration
 
Public Event CertificateRequired As CertificateRequiredEventHandler
'Usage
 
Dim instance As FtpConnection
Dim handler As CertificateRequiredEventHandler
 
AddHandler instance.CertificateRequired, handler
public event CertificateRequiredEventHandler CertificateRequired
Event Data

The event handler receives an argument of type CertificateRequiredEventArgs containing data related to this event. The following CertificateRequiredEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets the FTP client's certificate that is required by 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