Mentalis.org Security Library documentation

CertificateStore Constructor (StoreLocation, String)

Initializes a new CertificateStore from a given store name and a given store location.

[Visual Basic]
Overloads Public Sub New( _
   ByVal location As StoreLocation, _
   ByVal store As String _
)
[C#]
public CertificateStore(
   StoreLocation location,
   string store
);

Parameters

location
The location of the store.
store
The name of the store to open.

Exceptions

Exception TypeCondition
ArgumentNullExceptionstore is a null reference (Nothing in Visual Basic).
CertificateExceptionAn error occurs while opening the specified store.

See Also

CertificateStore Class | CertificateStore Members | Org.Mentalis.Security.Certificates Namespace | CertificateStore Constructor Overload List