This documentation is archived and is not being maintained.
CspProviderFlags Enumeration
Visual Studio 2008
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.CryptographyAssembly: mscorlib (in mscorlib.dll)
| Member name | Description | |
|---|---|---|
![]() | NoFlags | Don't specify any settings. |
![]() | UseMachineKeyStore | Use key information from the computer's key store. |
![]() | UseDefaultKeyContainer | Use key information from the default key container. |
![]() | UseNonExportableKey | Use key information that can not be exported. |
![]() | UseExistingKey | Use key information from the current key. |
![]() | UseArchivableKey | Allow a key to be exported for archival or recovery. |
![]() | UseUserProtectedKey | Notify 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. |
![]() | NoPrompt | Prevent the CSP from displaying any user interface (UI) for this context. |
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
