RegistryXmlRepository RegistryXmlRepository RegistryXmlRepository Class

Definition

An XML repository backed by the Windows registry.

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

Constructors

RegistryXmlRepository(RegistryKey) RegistryXmlRepository(RegistryKey) RegistryXmlRepository(RegistryKey)

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

RegistryXmlRepository(RegistryKey, ILoggerFactory) RegistryXmlRepository(RegistryKey, ILoggerFactory) RegistryXmlRepository(RegistryKey, ILoggerFactory)

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

RegistryXmlRepository(RegistryKey, IServiceProvider) RegistryXmlRepository(RegistryKey, IServiceProvider) RegistryXmlRepository(RegistryKey, IServiceProvider)

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

Properties

DefaultRegistryKey DefaultRegistryKey DefaultRegistryKey

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

RegistryKey RegistryKey RegistryKey

The registry key into which key material will be written.

Services Services Services

The IServiceProvider provided to the constructor.

Methods

GetAllElements() GetAllElements() GetAllElements()
StoreElement(XElement, String) StoreElement(XElement, String) StoreElement(XElement, String)

Applies to