Поделиться через


CspProviderFlags Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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.Extensions (in mscorlib.Extensions.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration CspProviderFlags
[FlagsAttribute]
public enum CspProviderFlags

Members

Member name Description
Supported by Silverlight for Windows Phone NoFlags Do not specify any settings.
Supported by Silverlight for Windows Phone UseMachineKeyStore Use key information from the computer's key store.
Supported by Silverlight for Windows Phone UseDefaultKeyContainer Use key information from the default key container.
Supported by Silverlight for Windows Phone UseNonExportableKey Use key information that cannot be exported.
Supported by Silverlight for Windows Phone UseExistingKey Use key information from the current key.
Supported by Silverlight for Windows Phone UseArchivableKey Allow a key to be exported for archival or recovery.
Supported by Silverlight for Windows Phone 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.
Supported by Silverlight for Windows Phone NoPrompt Prevent the CSP from displaying any user interface (UI) for this context.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.