DataProtectionBuilderExtensions.ProtectKeysWithDpapi Metodo

Definizione

Overload

ProtectKeysWithDpapi(IDataProtectionBuilder)

Configura le chiavi da crittografare con Windows DPAPI prima di essere mantenute nell'archiviazione. La chiave crittografata sarà decrittografabile solo dall'account utente di Windows corrente.

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Configura le chiavi da crittografare con Windows DPAPI prima di essere mantenute nell'archiviazione.

ProtectKeysWithDpapi(IDataProtectionBuilder)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Configura le chiavi da crittografare con Windows DPAPI prima di essere mantenute nell'archiviazione. La chiave crittografata sarà decrittografabile solo dall'account utente di Windows corrente.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ ProtectKeysWithDpapi(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithDpapi (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder);
static member ProtectKeysWithDpapi : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithDpapi (builder As IDataProtectionBuilder) As IDataProtectionBuilder

Parametri

Restituisce

Riferimento all'oggetto dopo il completamento dell'operazione IDataProtectionBuilder .

Commenti

Questa API è supportata solo nelle piattaforme Windows.

Si applica a

ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Configura le chiavi da crittografare con Windows DPAPI prima di essere mantenute nell'archiviazione.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ ProtectKeysWithDpapi(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, bool protectToLocalMachine);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder ProtectKeysWithDpapi (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, bool protectToLocalMachine);
static member ProtectKeysWithDpapi : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * bool -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function ProtectKeysWithDpapi (builder As IDataProtectionBuilder, protectToLocalMachine As Boolean) As IDataProtectionBuilder

Parametri

protectToLocalMachine
Boolean

'true' se la chiave deve essere decrittografabile da qualsiasi uso nel computer locale, 'false' se la chiave deve essere decrittografabile solo dall'account utente di Windows corrente.

Restituisce

Riferimento all'oggetto dopo il completamento dell'operazione IDataProtectionBuilder .

Commenti

Questa API è supportata solo nelle piattaforme Windows.

Si applica a