Skip to main content
KeyStorageProviderNames.SoftwareKeyStorageProvider | softwareKeyStorageProvider property

Applies to Windows and Windows Phone

Returns "Microsoft Software Key Storage Provider" as the provider name.

Syntax


var softwareKeyStorageProvider = Windows.Security.Cryptography.Certificates.KeyStorageProviderNames.softwareKeyStorageProvider;

public static string SoftwareKeyStorageProvider { get; }

Public Shared ReadOnly Property SoftwareKeyStorageProvider As String

public:
static property String^ SoftwareKeyStorageProvider { 
   String^ get();
}

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The provider name.

Examples


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 Crypto Provider".
    reqProperties.KeyStorageProviderName = KeyStorageProviderNames.PlatformKeyStorageProvider;

    // Set the value to "Microsoft Smart Card Key Storage Provider".
    reqProperties.KeyStorageProviderName = KeyStorageProviderNames.SmartcardKeyStorageProvider;
}

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

See also

KeyStorageProviderNames