Saves the CertificateStore in a file.
[Visual Basic]
Public Sub ToCerFile( _
ByVal filename As String, _
ByVal type As CertificateStoreType _
)
| Exception Type | Condition |
|---|---|
| ArgumentNullException | filename is a null reference (Nothing in Visual Basic). |
| CertificateException | An error occurs while saving the store to the memory buffer. |
| IOException | An error occurs while writing the data. |
CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace