Freigeben über


DpapiXmlEncryptor Konstruktoren

Definition

Überlädt

DpapiXmlEncryptor(Boolean)

Erstellt einen DpapiXmlEncryptor bestimmten Schutzbereich.

DpapiXmlEncryptor(Boolean, ILoggerFactory)

Erstellt einen DpapiXmlEncryptor bestimmten Schutzbereich und eine IServiceProvider.

DpapiXmlEncryptor(Boolean, IServiceProvider)

Erstellt einen DpapiXmlEncryptor bestimmten Schutzbereich und eine IServiceProvider.

DpapiXmlEncryptor(Boolean)

Erstellt einen DpapiXmlEncryptor bestimmten Schutzbereich.

public:
 DpapiXmlEncryptor(bool protectToLocalMachine);
public DpapiXmlEncryptor (bool protectToLocalMachine);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor : bool -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor
Public Sub New (protectToLocalMachine As Boolean)

Parameter

protectToLocalMachine
Boolean

"true", wenn die Daten von jedem auf dem lokalen Computer entschlüsselt werden sollen, "false", wenn die Daten nur vom aktuellen Windows-Benutzerkonto entschlüsselt werden sollen.

Gilt für:

DpapiXmlEncryptor(Boolean, ILoggerFactory)

Quelle:
DpapiXmlEncryptor.cs
Quelle:
DpapiXmlEncryptor.cs
Quelle:
DpapiXmlEncryptor.cs
Quelle:
DpapiXmlEncryptor.cs
Quelle:
DpapiXmlEncryptor.cs
Quelle:
DpapiXmlEncryptor.cs
Quelle:
DpapiXmlEncryptor.cs
Quelle:
DpapiXmlEncryptor.cs

Erstellt einen DpapiXmlEncryptor bestimmten Schutzbereich und eine IServiceProvider.

public:
 DpapiXmlEncryptor(bool protectToLocalMachine, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public DpapiXmlEncryptor (bool protectToLocalMachine, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor : bool * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor
Public Sub New (protectToLocalMachine As Boolean, loggerFactory As ILoggerFactory)

Parameter

protectToLocalMachine
Boolean

"true", wenn die Daten von jedem auf dem lokalen Computer entschlüsselt werden sollen, "false", wenn die Daten nur vom aktuellen Windows-Benutzerkonto entschlüsselt werden sollen.

loggerFactory
ILoggerFactory

Die ILoggerFactory.

Gilt für:

DpapiXmlEncryptor(Boolean, IServiceProvider)

Erstellt einen DpapiXmlEncryptor bestimmten Schutzbereich und eine IServiceProvider.

public:
 DpapiXmlEncryptor(bool protectToLocalMachine, IServiceProvider ^ services);
public DpapiXmlEncryptor (bool protectToLocalMachine, IServiceProvider services);
new Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor : bool * IServiceProvider -> Microsoft.AspNetCore.DataProtection.XmlEncryption.DpapiXmlEncryptor
Public Sub New (protectToLocalMachine As Boolean, services As IServiceProvider)

Parameter

protectToLocalMachine
Boolean

"true", wenn die Daten von jedem auf dem lokalen Computer entschlüsselt werden sollen, "false", wenn die Daten nur vom aktuellen Windows-Benutzerkonto entschlüsselt werden sollen.

services
IServiceProvider

Ein optionaler IServiceProvider , um Hilfsdienste bereitzustellen.

Gilt für: