RegistryXmlRepository Class

Definition

An XML repository backed by the Windows registry.

public ref class RegistryXmlRepository : Microsoft::AspNetCore::DataProtection::Repositories::IXmlRepository
public class RegistryXmlRepository : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository
type RegistryXmlRepository = class
    interface IXmlRepository
Public Class RegistryXmlRepository
Implements IXmlRepository
Inheritance
RegistryXmlRepository
Implements

Constructors

RegistryXmlRepository(RegistryKey)

Creates a RegistryXmlRepository with keys stored in the given registry key.

RegistryXmlRepository(RegistryKey, ILoggerFactory)

Creates a RegistryXmlRepository with keys stored in the given registry key.

RegistryXmlRepository(RegistryKey, IServiceProvider)

Creates a RegistryXmlRepository with keys stored in the given registry key.

Properties

DefaultRegistryKey

The default key storage directory, which currently corresponds to "HKLM\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys{SID}".

RegistryKey

The registry key into which key material will be written.

Services

The IServiceProvider provided to the constructor.

Methods

GetAllElements()
StoreElement(XElement, String)

Applies to