Sets the server certificates file path. The path must denote valid PKCS#12/PFX file. null value forces the SSL-subsystem to not verify the server certificate while SSL-handshake.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public void SetServerCertificate(
	string path
)
Visual Basic
Public Sub SetServerCertificate ( _
	path As String _
)
Visual C++
public:
void SetServerCertificate(
	String^ path
)

Parameters

path
Type: System..::..String
Trusted certificates file path.

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf certificate store cannot be read.

See Also