Initializes a new CertificateStore from a given store name.
[Visual Basic]
Overloads Public Sub New( _
ByVal store As String _
)
If the system store name provided in this parameter is not the name of an existing system store, a new system store will be created and used.
Some example system stores are listed in the following table.
| Predefined system store name | Meaning |
|---|---|
| "CA" | Certification authority certificates. |
| "MY" | A certificate store holding "My" certificates with their associated private keys. |
| "ROOT" | Root certificates. |
| "SPC" | Software publisher certificates. |
| Exception Type | Condition |
|---|---|
| ArgumentNullException | store is a null reference (Nothing in Visual Basic). |
| CertificateException | An error occurs while opening the specified store. |
CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace | CertificateStore Constructor Overload List