Share via


DataProtectionBuilderExtensions.PersistKeysToRegistry Methode

Definition

Konfiguriert das Datenschutzsystem so, dass Schlüssel in der Windows-Registrierung beibehalten werden.

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

Parameter

registryKey
RegistryKey

Der Speicherort in der Registrierung, an dem Schlüssel gespeichert werden sollen.

Gibt zurück

Ein Verweis auf nach IDataProtectionBuilder Abschluss dieses Vorgangs.

Gilt für: