Class FtpSslValidationEventArgs
- Namespace
- FluentFTP
- Assembly
- FluentFTP.dll
Event args for the FtpSslValidationError delegate
public class FtpSslValidationEventArgs : EventArgs
- Inheritance
-
FtpSslValidationEventArgs
- Inherited Members
- Extension Methods
Constructors
FtpSslValidationEventArgs()
public FtpSslValidationEventArgs()
Properties
Accept
Gets or sets a value indicating if this certificate should be accepted. The default value is false. If the certificate is not accepted, an AuthenticationException will be thrown.
public bool Accept { get; set; }
Property Value
Certificate
The certificate to be validated
public X509Certificate Certificate { get; set; }
Property Value
Chain
The certificate chain
public X509Chain Chain { get; set; }
Property Value
PolicyErrorMessage
Validation errors, if any.
public string PolicyErrorMessage { get; set; }
Property Value
PolicyErrors
Validation errors, if any.
public SslPolicyErrors PolicyErrors { get; set; }