<PackageReference Include="System.Configuration.ConfigurationManager" Version="10.0.0-preview.2.25163.2" />

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.