KeyStorageProviderNames.PlatformKeyStorageProvider 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回 「Microsoft Platform Crypyto Key Storage Provider」 作為提供者名稱。
public:
static property Platform::String ^ PlatformKeyStorageProvider { Platform::String ^ get(); };
static winrt::hstring PlatformKeyStorageProvider();
public static string PlatformKeyStorageProvider { get; }
var string = KeyStorageProviderNames.platformKeyStorageProvider;
Public Shared ReadOnly Property PlatformKeyStorageProvider As String
屬性值
提供者名稱。
範例
public void SampleKspNames()
{
// Create a new CertificateRequestProperties object.
CertificateRequestProperties reqProperties = new CertificateRequestProperties();
// Retrieve the default value ("Microsoft Software Key Storage Provider").
String strDefaultName = reqProperties.KeyStorageProviderName;
// Set the value to "Microsoft Platform Crypyto Key Storage Provider".
reqProperties.KeyStorageProviderName = KeyStorageProviderNames.PlatformKeyStorageProvider;
// Set the value to "Microsoft Smart Card Key Storage Provider".
reqProperties.KeyStorageProviderName = KeyStorageProviderNames.SmartcardKeyStorageProvider;
}