Saves the certificate to the supplied file in specified format.
Namespace:
Rebex.Security.Certificates
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
| Visual Basic |
|---|
Public Sub Save ( _ fileName As String, _ format As CertificateFormat _ ) |
| C# |
|---|
public void Save( string fileName, CertificateFormat format ) |
Parameters
- fileName
- Type: System..::..String
Path to the file to save the certificate to. If the file exists, it is overwritten.
- format
- Type: Rebex.Security.Certificates..::..CertificateFormat
Certificate format.