DpapiProtectedConfigurationProvider.Decrypt(XmlNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Decrypts the passed XmlNode object.
public:
override System::Xml::XmlNode ^ Decrypt(System::Xml::XmlNode ^ encryptedNode);
public override System.Xml.XmlNode Decrypt (System.Xml.XmlNode encryptedNode);
override this.Decrypt : System.Xml.XmlNode -> System.Xml.XmlNode
Public Overrides Function Decrypt (encryptedNode As XmlNode) As XmlNode
Parameters
Returns
A decrypted XmlNode object.
Exceptions
encryptedNode
does not have Name set to "EncryptedData" and XmlNodeType set to Element.
-or-
encryptedNode
does not have a child node named "CipherData" with a child node named "CipherValue".
-or-
The child node named "CipherData" is an empty node.