CspProviderFlags Enumeration
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)
| Member name | Description | |||
|---|---|---|---|---|
| NoFlags | Do not 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 cannot 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. | |||
| CreateEphemeralKey | Create a temporary key that is released when the associated Rivest-Shamir-Adleman (RSA) object is closed. Do not use this flag if you want your key to be independent of the RSA object.
|
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Important