<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0-preview.2.20160.6" />

ProtectedConfigurationProvider

The base class to create providers for encrypting and decrypting protected configuration data.

Initializes a new instance of the ProtectedConfigurationProvider class using default settings.

public abstract XmlNode Decrypt(XmlNode encryptedNode)

Decrypts the passed XmlNode object from a configuration file.

public abstract XmlNode Encrypt(XmlNode node)

Encrypts the passed XmlNode object from a configuration file.