edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Returns the certificate in buffer in the PFX format.

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

Syntax

C#
public byte[] GetPFXBuffer(
	string password,
	bool withPrivateKeys
)
Visual Basic
Public Function GetPFXBuffer ( _
	password As String, _
	withPrivateKeys As Boolean _
) As Byte()
Visual C++
public:
array<unsigned char>^ GetPFXBuffer(
	String^ password, 
	bool withPrivateKeys
)

Parameters

password
Type: System..::..String
The password to use when encrypting the private keys.
withPrivateKeys
Type: System..::..Boolean
true if the private keys should be exported [if possible], false otherwise.

Return Value

A byte-array containing the certificate in PFX format

See Also