編輯

共用方式為


DpapiProtectedConfigurationProvider.Decrypt(XmlNode) Method

Definition

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

encryptedNode
XmlNode

The XmlNode object to decrypt.

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.

Applies to