CspProviderFlags Enumeration

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

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0

Community Additions