Certificate.Export Certificate.Export Certificate.Export Method

Definition

Saves the certificate in the specified system path location.

Overloads

Export(String, String, String) Export(String, String, String) Export(String, String, String)

Saves the certificate in the specified system path location.

Export(String, String, String, String) Export(String, String, String, String) Export(String, String, String, String)

Saves the certificate in the specified system path location.

Export(String) Export(String) Export(String)

Saves the certificate in the specified system path location.

Examples

Using Encryption

Export(String, String, String) Export(String, String, String) Export(String, String, String)

Saves the certificate in the specified system path location.

public:
 void Export(System::String ^ certificatePath, System::String ^ privateKeyPath, System::String ^ encryptionPassword);
public void Export (string certificatePath, string privateKeyPath, string encryptionPassword);
Public Sub Export (certificatePath As String, privateKeyPath As String, encryptionPassword As String)
Parameters
certificatePath
String String String

A String value that specifies the system path to which to save the certificate.

privateKeyPath
String String String

A String value that specifies the system path to the private key.

encryptionPassword
String String String

A String value that specifies the system path to encrypt the private key.

Examples

Using Encryption

Export(String, String, String, String) Export(String, String, String, String) Export(String, String, String, String)

Saves the certificate in the specified system path location.

public:
 void Export(System::String ^ certificatePath, System::String ^ privateKeyPath, System::String ^ encryptionPassword, System::String ^ decryptionPassword);
public void Export (string certificatePath, string privateKeyPath, string encryptionPassword, string decryptionPassword);
Public Sub Export (certificatePath As String, privateKeyPath As String, encryptionPassword As String, decryptionPassword As String)
Parameters
certificatePath
String String String

A String value that specifies the system path to which to save the certificate.

privateKeyPath
String String String

A String value that specifies the system path to the private key.

encryptionPassword
String String String

A String value that specifies the system path to encrypt the private key.

decryptionPassword
String String String

A String value that specifies the system path to decrypt the private key.

Examples

Using Encryption

Export(String) Export(String) Export(String)

Saves the certificate in the specified system path location.

public:
 void Export(System::String ^ certificatePath);
public void Export (string certificatePath);
Public Sub Export (certificatePath As String)
Parameters
certificatePath
String String String

A String value that specifies the system path to which to save the certificate.

Examples

Using Encryption

Applies to