KeyStorageProviderNames.PlatformKeyStorageProvider Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns "Microsoft Platform Crypyto Key Storage Provider" as the provider name.
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
Property Value
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 Crypyto Key Storage Provider".
reqProperties.KeyStorageProviderName = KeyStorageProviderNames.PlatformKeyStorageProvider;
// Set the value to "Microsoft Smart Card Key Storage Provider".
reqProperties.KeyStorageProviderName = KeyStorageProviderNames.SmartcardKeyStorageProvider;
}