XmlDocumentDecryptor.CreateDecryptingXmlReader Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en XmlReader som dekrypterar data transparent.
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
Parametrar
- settings
- XmlReaderSettings
Inställningarna för den nya XmlReader instansen.
Returer
En XmlReader som dekrypterar data transparent.
- Attribut