SSLFTPCertificateCreateFromPFX(String, String, Boolean) Method
Loads the certificate and private key from a PFX file.
Namespace: EnterpriseDT.Net.Ftp.SslAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public static SSLFTPCertificate CreateFromPFX(
string pfxFileName,
string pfxPassword,
bool exportable
)
Public Shared Function CreateFromPFX (
pfxFileName As String,
pfxPassword As String,
exportable As Boolean
) As SSLFTPCertificate
public:
static SSLFTPCertificate^ CreateFromPFX(
String^ pfxFileName,
String^ pfxPassword,
bool exportable
)
static member CreateFromPFX :
pfxFileName : string *
pfxPassword : string *
exportable : bool -> SSLFTPCertificate
- pfxFileName String
- Name of PFX file.
- pfxPassword String
- Password used to access PFX file.
- exportable Boolean
-
SSLFTPCertificateThe certificate object (including the private key).
This PFX file must contain the private key.