Determines whether the specified certificate store exists.

Namespace:  Rebex.Security.Certificates
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Shared Function Exists ( _
	storeName As CertificateStoreName, _
	location As CertificateStoreLocation _
) As Boolean
C#
public static bool Exists(
	CertificateStoreName storeName,
	CertificateStoreLocation location
)

Parameters

storeName
Type: Rebex.Security.Certificates..::..CertificateStoreName
The store name value.
location
Type: Rebex.Security.Certificates..::..CertificateStoreLocation
Specifies the location of the certificate store.

Return Value

True if the store exists; false otherwise.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also