XmlDocumentDecryptor.CreateDecryptingXmlReader Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
- settings
- XmlReaderSettings
Impostazioni per la nuova XmlReader istanza.
Valori restituiti
Oggetto XmlReader che decrittografa i dati in modo trasparente.
- Attributi