<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0-preview1.19504.10" />

ProtectedConfigurationProvider

Is 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.