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.FtpAssembly: 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
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If certificate store cannot be read. |