DataProtectionBuilderExtensions.PersistKeysToRegistry Método

Definición

Configura el sistema de protección de datos para conservar las claves en el Registro de Windows.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ PersistKeysToRegistry(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::Win32::RegistryKey ^ registryKey);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder PersistKeysToRegistry (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.Win32.RegistryKey registryKey);
static member PersistKeysToRegistry : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.Win32.RegistryKey -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function PersistKeysToRegistry (builder As IDataProtectionBuilder, registryKey As RegistryKey) As IDataProtectionBuilder

Parámetros

builder
IDataProtectionBuilder

El parámetro de cadena de consulta IDataProtectionBuilder.

registryKey
RegistryKey

Ubicación en el Registro donde se deben almacenar las claves.

Devoluciones

IDataProtectionBuilder

Referencia a una IDataProtectionBuilder vez completada esta operación.

Se aplica a