<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0-preview8.19405.3" />

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.