Xceed .NET Libraries Documentation
CertificateRequired Event (FtpClient)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpClient 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. 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 CertificateRequired As CertificateRequiredEventHandler
'Usage
 
Dim instance As FtpClient
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.  
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