Share via


CertificateStores.GetStoreByName(String) Method

Definition

Gets a certificate store from the collection of certificate stores by name.

public:
 static CertificateStore ^ GetStoreByName(Platform::String ^ storeName);
 static CertificateStore GetStoreByName(winrt::hstring const& storeName);
public static CertificateStore GetStoreByName(string storeName);
function getStoreByName(storeName)
Public Shared Function GetStoreByName (storeName As String) As CertificateStore

Parameters

storeName
String

Platform::String

winrt::hstring

The name of the certificate store to return. The storeName parameter value cannot be "MY".

Returns

The requested certificate store.

Applies to