CspProviderFlags Enumeration

CspProviderFlags Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies flags that modify the behavior of the cryptographic service providers (CSP).

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public enum CspProviderFlags

Member nameDescription
NoFlagsDo not specify any settings.
NoPromptPrevent the CSP from displaying any user interface (UI) for this context.
UseArchivableKeyAllow a key to be exported for archival or recovery.
UseDefaultKeyContainerUse key information from the default key container.
UseExistingKeyUse key information from the current key.
UseMachineKeyStoreUse key information from the computer's key store.
UseNonExportableKeyUse key information that cannot be exported.
UseUserProtectedKeyNotify the user through a dialog box or another method when certain actions are attempting to use a key. This flag is not compatible with the NoPrompt flag.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2018 Microsoft