edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Loads the certificate and private key from a PFX file.

Namespace: EnterpriseDT.Net.Ftp.Ssl
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public static SSLFTPCertificate CreateFromPFX(
	string pfxFileName,
	string pfxPassword
)
Visual Basic
Public Shared Function CreateFromPFX ( _
	pfxFileName As String, _
	pfxPassword As String _
) As SSLFTPCertificate
Visual C++
public:
static SSLFTPCertificate^ CreateFromPFX(
	String^ pfxFileName, 
	String^ pfxPassword
)

Parameters

pfxFileName
Type: System..::..String
Name of PFX file.
pfxPassword
Type: System..::..String
Password used to access PFX file.

Return Value

The certificate object (including the private key).

Remarks

This PFX file must contain the private key.

See Also