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)

public enum CspProviderFlags
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute FlagsAttribute() */ 
public enum CspProviderFlags
public enum CspProviderFlags

 Member nameDescription
Supported by the .NET Compact FrameworkNoFlagsDon't specify any settings. 
Supported by the .NET Compact FrameworkNoPromptPrevent the CSP from displaying any user interface (UI) for this context. 
Supported by the .NET Compact FrameworkUseArchivableKeyAllow a key to be exported for archival or recovery. 
Supported by the .NET Compact FrameworkUseDefaultKeyContainerUse key information from the default key container. 
Supported by the .NET Compact FrameworkUseExistingKeyUse key information from the current key. 
Supported by the .NET Compact FrameworkUseMachineKeyStoreUse key information from the computer's key store. 
Supported by the .NET Compact FrameworkUseNonExportableKeyUse key information that can not be exported. 
Supported by the .NET Compact FrameworkUseUserProtectedKeyNotify 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 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0

Community Additions