Partager via


KeyStorageProviderNames.PlatformKeyStorageProvider Propriété

Définition

Retourne « Microsoft Platform Crypyto Key Storage Provider » comme nom de fournisseur.

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

Valeur de propriété

String

Platform::String

winrt::hstring

Nom du fournisseur.

Exemples

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

S’applique à