wwFtpClient.AddCertificate

Adds a certificate from a .pfx self-contained certificate file.

The .pfx must contain an embedded private key in order for this to work. You may be presented with a password dialog if the .pfx is password protected.

If you have other certificate formats (like .crt files) you have to convert the certificate first.

o.AddCertificate(lcCertificateFile)

Parameters

lcCertificateFile
The name of a .PFX file that contains the private key (ie. self-contained)