XmlDocumentDecryptor.CreateDecryptingXmlReader Metodo

Definizione

Crea un oggetto XmlReader che decrittografa i dati in modo trasparente.

public:
 System::Xml::XmlReader ^ CreateDecryptingXmlReader(System::IO::Stream ^ input, System::Xml::XmlReaderSettings ^ settings);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml which may contain XSLTs in the xml. XSLTs require dynamic code.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")]
public System.Xml.XmlReader CreateDecryptingXmlReader(System.IO.Stream input, System.Xml.XmlReaderSettings? settings);
public System.Xml.XmlReader CreateDecryptingXmlReader(System.IO.Stream input, System.Xml.XmlReaderSettings? settings);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml which may contain XSLTs in the xml. XSLTs require dynamic code.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Microsoft.Extensions.Configuration.Xml can use EncryptedXml. If you use encrypted XML files, your application might not have the algorithm implementations it needs. To avoid this problem, one option you can use is a DynamicDependency attribute to keep the algorithm implementations in your application.")>]
member this.CreateDecryptingXmlReader : System.IO.Stream * System.Xml.XmlReaderSettings -> System.Xml.XmlReader
member this.CreateDecryptingXmlReader : System.IO.Stream * System.Xml.XmlReaderSettings -> System.Xml.XmlReader
Public Function CreateDecryptingXmlReader (input As Stream, settings As XmlReaderSettings) As XmlReader

Parametri

input
Stream

Input Stream da cui leggere i dati di configurazione XML.

settings
XmlReaderSettings

Impostazioni per la nuova XmlReader istanza.

Valori restituiti

Oggetto XmlReader che decrittografa i dati in modo trasparente.

Attributi

Si applica a