Saves the Certificate as an encoded file.
[Visual Basic]
Public Sub ToCerFile( _
ByVal filename As String _
)
If the specified file already exists, this method will throw an exception.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | filename is a null reference (Nothing in Visual Basic). |
| IOException | An error occurs while writing the data. |
Certificate Class | Certificate Members | Org.Mentalis.Security.Certificates Namespace