FtpSslValidationEventArgs.Accept Property

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
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.

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
public bool Accept { get; set; }
Visual Basic
Public Property Accept As Boolean
	Get
	Set
Visual C++
public:
property bool Accept {
	bool get ();
	void set (bool value);
}

Property Value

Type: Boolean

See Also