DpapiNGProtectionDescriptorFlags Enum

Flags used to control the creation of protection descriptors.

Namespace
Microsoft.AspNetCore.DataProtection.XmlEncryption
Assemblies
  • Microsoft.AspNetCore.DataProtection

Syntax

[Flags]
public enum DpapiNGProtectionDescriptorFlags
enum Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags

Fields

MachineKey()

When combined with Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags.NamedDescriptor, uses the HKLM registry instead of the HKCU registry when locating the full descriptor.

Return type:Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags
MachineKey = 32
NamedDescriptor()

The provided descriptor is a reference to a full descriptor stored in the system registry.

Return type:Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags
NamedDescriptor = 1
None()

No special handling is necessary.

Return type:Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiNGProtectionDescriptorFlags
None = 0