Sets the client certificate file path.
The path must denote valid .cer or PEM file.
null value clears the current certificate value and
forces the SSL-subsystem to not use the client certificate while SSL-handshake.
Namespace: Jscape.FtpAssembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void SetClientCertificate( string path ) |
Visual Basic |
---|
Public Sub SetClientCertificate ( _ path As String _ ) |
Visual C++ |
---|
public: void SetClientCertificate( String^ path ) |
Parameters
- path
- Type: System..::..String
Client certificate file path.
Exceptions
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If certificate cannot be read. |