Files
Dec2017-Script-Dump/mscorlib/System/Security/Cryptography/CspProviderFlags.cs
T
2026-06-04 11:42:34 +02:00

39 lines
1.5 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// <summary>Specifies flags that modify the behavior of the cryptographic service providers (CSP).</summary>
// Token: 0x020004F5 RID: 1269
[Flags]
[ComVisible(true)]
[Serializable]
public enum CspProviderFlags
{
/// <summary>Use key information from the computer's key store.</summary>
// Token: 0x0400131E RID: 4894
UseMachineKeyStore = 1,
/// <summary>Use key information from the default key container.</summary>
// Token: 0x0400131F RID: 4895
UseDefaultKeyContainer = 2,
/// <summary>Use key information from the current key.</summary>
// Token: 0x04001320 RID: 4896
UseExistingKey = 8,
/// <summary>Don't specify any settings.</summary>
// Token: 0x04001321 RID: 4897
NoFlags = 0,
/// <summary>Prevent the CSP from displaying any user interface (UI) for this context.</summary>
// Token: 0x04001322 RID: 4898
NoPrompt = 64,
/// <summary>Allow a key to be exported for archival or recovery.</summary>
// Token: 0x04001323 RID: 4899
UseArchivableKey = 16,
/// <summary>Use key information that can not be exported.</summary>
// Token: 0x04001324 RID: 4900
UseNonExportableKey = 4,
/// <summary>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 <see cref="F:System.Security.Cryptography.CspProviderFlags.NoPrompt" /> flag.</summary>
// Token: 0x04001325 RID: 4901
UseUserProtectedKey = 32
}
}