edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SSLFTPCertificateWriteToPFX Method

Writes the certificate and (optionally) the private key to a file in PFX format.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssl
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void WriteToPFX(
	string pfxFilePath,
	string password,
	bool withPrivateKeys
)

Parameters

pfxFilePath  String
Path of file.
password  String
The password to use when encrypting the private keys.
withPrivateKeys  Boolean
true if the private keys should be exported [if possible], false otherwise.

See Also