다음을 통해 공유


KeyStorageProviderNames.PlatformKeyStorageProvider 속성

정의

공급자 이름으로 "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

속성 값

String

Platform::String

winrt::hstring

공급자 이름입니다.

예제

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;
}

적용 대상