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

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

Syntax

C#
[ObsoleteAttribute("Use CreateFromPFX and AssociatePrivateKey.")]
public static SSLFTPCertificate CreateFromPFX_PVK(
	string pfxFileName,
	string pfxPassword,
	string pvkFileName,
	string pvkPassword
)
Visual Basic
<ObsoleteAttribute("Use CreateFromPFX and AssociatePrivateKey.")> _
Public Shared Function CreateFromPFX_PVK ( _
	pfxFileName As String, _
	pfxPassword As String, _
	pvkFileName As String, _
	pvkPassword As String _
) As SSLFTPCertificate
Visual C++
[ObsoleteAttribute(L"Use CreateFromPFX and AssociatePrivateKey.")]
public:
static SSLFTPCertificate^ CreateFromPFX_PVK(
	String^ pfxFileName, 
	String^ pfxPassword, 
	String^ pvkFileName, 
	String^ pvkPassword
)

Parameters

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

Return Value

The certificate object (including the private key).

See Also