Export (0) Print
Expand All
Expand Minimize

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

Member nameDescription
Supported by the .NET Compact FrameworkNoFlagsDon't specify any settings.
Supported by the .NET Compact FrameworkUseMachineKeyStoreUse key information from the computer's key store.
Supported by the .NET Compact FrameworkUseDefaultKeyContainerUse key information from the default key container.
Supported by the .NET Compact FrameworkUseNonExportableKeyUse key information that can not be exported.
Supported by the .NET Compact FrameworkUseExistingKeyUse key information from the current key.
Supported by the .NET Compact FrameworkUseArchivableKeyAllow a key to be exported for archival or recovery.
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.
Supported by the .NET Compact FrameworkNoPromptPrevent 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.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft